Returns true if and only if the given Optional variant has a value.
tf.raw_ops.OptionalHasValue(
optional, name=None
)
Args | |
|---|---|
optional
|
A Tensor of type variant.
|
name
|
A name for the operation (optional). |
Returns | |
|---|---|
A Tensor of type bool.
|