Spec-Zone.ru › TensorFlow

tf.test.with_eager_op_as_function

Returns the same class. This will be removed once all usages are removed.

View aliases

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.test.with_eager_op_as_function

tf.test.with_eager_op_as_function(
    cls: Optional[type[_T]] = None, only_as_function: bool = False
) -> Union[Callable[[type[_T]], type[_T]], type[_T]]
Args
cls class to decorate.
only_as_function unused argument.
Returns
cls

© 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/test/with_eager_op_as_function

Spec-Zone.ru

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