operation| Modifier and Type | Method and Description |
|---|---|
Output<Boolean> |
asOutput()
Returns the symbolic handle of a tensor.
|
static OptionalHasValue |
create(Scope scope,
Operand<?> optional)
Factory method to create a class to wrap a new OptionalHasValue operation to the graph.
|
Output<Boolean> |
hasValue() |
equals, hashCode, toStringpublic static OptionalHasValue create(Scope scope, Operand<?> optional)
scope - current graph scopeoptional - public Output<Boolean> 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<Boolean>OperationBuilder.addInput(Output)Copyright © 2015–2019. All rights reserved.