tf.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]]
| Аргументы | |
|---|---|
cls | класс для декорирования. |
only_as_function | неиспользуемый аргумент. |
| Возвращаемое значение | |
|---|---|
| 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