AccumulatorNumAccumulated
tensorflow C++ API
tensorflow::ops::AccumulatorNumAccumulated
Returns the number of gradients aggregated in the given accumulators.
Summary
Arguments:
- scope: A Scope object
- handle: The handle to a accumulator.
Returns:
- Output : The number of gradients aggregated in the given accumulator.
Constructor
- AccumulatorNumAccumulated(const ::tensorflow::Scope & scope, ::tensorflow::Input handle).
Public attributes
- tensorflow::Output num_accumulated.
AccumulatorNumAccumulated block
Source link : https://github.com/EXPNUNI/enuSpace-Tensorflow/blob/master/enuSpaceTensorflow/tf_data_flow_ops.cpp
Argument:
- Scope scope : A Scope object (A scope is generated automatically each page. A scope is not connected.)
- Input handle: connect Input node.
Return:
- Output num_accumulated: Output object of AccumulatorNumAccumulated object.
Result:
- std::vector(Tensor) product_result : Returned object of executed result by calling session.