Spec-Zone.ru › TensorFlow

tf.keras.ops.stack

Join a sequence of tensors along a new axis.

View aliases

Main aliases

tf.keras.ops.numpy.stack

tf.keras.ops.stack(
    x, axis=0
)

The axis parameter specifies the index of the new axis in the dimensions of the result.

Args
x A sequence of tensors.
axis Axis along which to stack. Defaults to 0.
Returns
The stacked 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/stack

Spec-Zone.ru

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