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 wrapping a new AccumulatorNumAccumulated operation.
|
Output<Integer> |
numAccumulated()
The number of gradients aggregated in the given accumulator.
|
equals, hashCode, op, toString
public static AccumulatorNumAccumulated create(Scope scope, Operand<String> handle)
scope
- current scopehandle
- The handle to an accumulator.public Output<Integer> numAccumulated()
public Output<Integer> asOutput()
Operand
Inputs 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 © 2022. All rights reserved.