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/versions/r2.9/api_docs/cc/class/tensorflow/ops/count-up-to