Spec-Zone.ru › TensorFlow

tf.keras.ops.tile

Repeat x the number of times given by repeats.

View aliases

Main aliases

tf.keras.ops.numpy.tile

tf.keras.ops.tile(
    x, repeats
)

If repeats has length d, the result will have dimension of max(d, x.ndim).

If x.ndim < d, x is promoted to be d-dimensional by prepending new axes.

If x.ndim > d, repeats is promoted to x.ndim by prepending 1's to it.

Args
x Input tensor.
repeats The number of repetitions of x along each axis.
Returns
The tiled output tensor.

© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/keras/ops/tile

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API