Spec-Zone.ru › TensorFlow

tf.keras.ops.reshape

Gives a new shape to a tensor without changing its data.

View aliases

Main aliases

tf.keras.ops.numpy.reshape

tf.keras.ops.reshape(
    x, newshape
)
Args
x Input tensor.
newshape The new shape should be compatible with the original shape. One shape dimension can be -1 in which case the value is inferred from the length of the array and remaining dimensions.
Returns
The reshaped 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/reshape

Spec-Zone.ru

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