tensorflow::ops::ResourceCountUpTo
#include <state_ops.h>
Увеличивает переменную, на которую указывает 'resource', до тех пор, пока она не достигнет 'limit'.
Summary
Arguments:
- scope: An object Scope
- resource: Должен быть из скалярного
Variableузла. - limit: Если увеличение ref приведет к значению, превышающему limit, генерируется ошибка 'OutOfRange'.
Returns:
-
Output: Копия входных данных до увеличения. Если входные данные не изменяются, все генерируемые значения будут различными.
| Конструкторы и деструкторы | |
|---|---|
ResourceCountUpTo(const ::tensorflow::Scope & scope, ::tensorflow::Input resource, int64 limit, DataType T) |
| Публичные атрибуты | |
|---|---|
operation | |
output | |
| Публичные функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
Публичные атрибуты
operation
Operation operation
output
::tensorflow::Output output
Публичные функции
ResourceCountUpTo
ResourceCountUpTo( const ::tensorflow::Scope & scope, ::tensorflow::Input resource, int64 limit, DataType T )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
© 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/r2.3/api_docs/cc/class/tensorflow/ops/resource-count-up-to