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/r1.15/api_docs/cc/class/tensorflow/ops/resource-count-up-to