Spec-Zone.ru › TensorFlow 1.15

tf.contrib.framework.with_same_shape

Утверждать, что тензоры имеют одинаковую форму, из одной и той же графы.

tf.contrib.framework.with_same_shape(
    expected_tensor, tensor
)
Аргументы
expected_tensor Тензор с ожидаемой формой.
tensor Тензор фактических значений.
Возвращает
Исходный аргумент тензора, возможно с добавленными операциями проверки.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/framework/with_same_shape

Spec-Zone.ru

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