tensorflow::ops::CountUpTo
#include <state_ops.h>
Увеличивает значение «ref», пока оно не достигнет «limit».
Краткое описание
Аргументы:
- scope: объект Scope
- ref: должен быть получен из скалярного узла
Variable. - limit: если увеличение ref приведёт к превышению limit, вместо этого будет сгенерирована ошибка «OutOfRange».
Возвращает:
-
Output: Копия входного значения до увеличения. Если никакой другой код не изменяет входное значение, все полученные значения будут различными.
| Конструкторы и деструкторы | |
|---|---|
CountUpTo(const ::tensorflow::Scope & scope, ::tensorflow::Input ref, int64 limit) |
| Публичные атрибуты | |
|---|---|
operation | |
output | |
| Публичные функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
Публичные атрибуты
operation
Operation operation
output
::tensorflow::Output output
Публичные функции
CountUpTo
CountUpTo( const ::tensorflow::Scope & scope, ::tensorflow::Input ref, int64 limit )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
© 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/cc/class/tensorflow/ops/count-up-to