CountUpTo
tensorflow C++ API
Increments 'ref' until it reaches 'limit'.
Summary
Arguments:
- scope: A Scope object
- ref: Should be from a scalar
Variable
node. - limit: If incrementing ref would bring it above limit, instead generates an 'OutOfRange' error.
Returns:
Output
: A copy of the input before increment. If nothing else modifies the input, the values produced will all be distinct.
CountUpTo block
Source link : https://github.com/EXPNUNI/enuSpaceTensorflow/blob/master/enuSpaceTensorflow/tf_state.cpp
Argument:
- Scope scope : A Scope object (A scope is generated automatically each page. A scope is not connected.)
- Input ref: connect Input node.
- int64 limit: connect Input lmit in value ex)10 =>int64
Return:
- Output output : Output object of CountUpTo class object.
Result:
- std::vector(Tensor) product_result : Returned object of executed result by calling session.