Spec-Zone.ru › TensorFlow

tf.keras.ops.take

Take elements from a tensor along an axis.

View aliases

Main aliases

tf.keras.ops.numpy.take

tf.keras.ops.take(
    x, indices, axis=None
)
Args
x Source tensor.
indices The indices of the values to extract.
axis The axis over which to select values. By default, the flattened input tensor is used.
Returns
The corresponding tensor of values.

© 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/take

Spec-Zone.ru

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