operation
Modifier and Type | Method and Description |
---|---|
Output<Integer> |
asOutput()
Returns the symbolic handle of a tensor.
|
static QueueSize |
create(Scope scope,
Operand<?> handle)
Factory method to create a class wrapping a new QueueSize operation.
|
Output<Integer> |
size()
The number of elements in the given queue.
|
equals, hashCode, op, toString
public static QueueSize create(Scope scope, Operand<?> handle)
scope
- current scopehandle
- The handle to a queue.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.