MCPcopy Create free account
hub / github.com/alibaba/nann / has_value

Method has_value

tensorflow/tensorflow/python/data/ops/optional_ops.py:50–59  ·  view source on GitHub ↗

Returns a tensor that evaluates to `True` if this optional has a value. Args: name: (Optional.) A name for the created operation. Returns: A scalar `tf.Tensor` of type `tf.bool`.

(self, name=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

ProcessRegressRequestMethod · 0.45
ProcessPredictRequestMethod · 0.45
PrintNodeInfoMethod · 0.45
testFromValueMethod · 0.45
testFromSparseTensorMethod · 0.45
testFromNoneMethod · 0.45
testAddNMethod · 0.45
testZerosLikeMethod · 0.45
testCopyToGPUMethod · 0.45

Calls

no outgoing calls

Tested by 12

testFromValueMethod · 0.36
testFromSparseTensorMethod · 0.36
testFromNoneMethod · 0.36
testAddNMethod · 0.36
testZerosLikeMethod · 0.36
testCopyToGPUMethod · 0.36
testNestedCopyToGPUMethod · 0.36
testGetNextAsOptionalMethod · 0.36