operation| Modifier and Type | Method and Description |
|---|---|
Output<Integer> |
asOutput()
Returns the symbolic handle of a tensor.
|
static AccumulatorNumAccumulated |
create(Scope scope,
Operand<String> handle)
Factory method to create a class to wrap a new AccumulatorNumAccumulated operation to the graph.
|
Output<Integer> |
numAccumulated()
The number of gradients aggregated in the given accumulator.
|
equals, hashCode, toStringpublic static AccumulatorNumAccumulated create(Scope scope, Operand<String> handle)
scope - current graph scopehandle - The handle to an accumulator.public Output<Integer> numAccumulated()
public Output<Integer> asOutput()
OperandInputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.
asOutput in interface Operand<Integer>OperationBuilder.addInput(Output)Copyright © 2015–2019. All rights reserved.