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 wrapping a new OptionalHasValue operation.
|
Output<Boolean> |
hasValue() |
equals, hashCode, op, toString
public static OptionalHasValue create(Scope scope, Operand<?> optional)
scope
- current scopeoptional
- public Output<Boolean> 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<Boolean>
OperationBuilder.addInput(Output)
Copyright © 2022. All rights reserved.