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

Method get_value

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

Returns the value wrapped by this optional. If this optional does not have a value (i.e. `self.has_value()` evaluates to `False`), this operation will raise `tf.errors.InvalidArgumentError` at runtime. Args: name: (Optional.) A name for the created operation. Returns:

(self, name=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

testFromValueMethod · 0.45
testFromSparseTensorMethod · 0.45
testFromNoneMethod · 0.45
testAddNMethod · 0.45
testNestedAddNMethod · 0.45
testZerosLikeMethod · 0.45
testNestedZerosLikeMethod · 0.45
testCopyToGPUMethod · 0.45
testNestedCopyToGPUMethod · 0.45
testOptionalSpecMethod · 0.45

Calls

no outgoing calls

Tested by 15

testFromValueMethod · 0.36
testFromSparseTensorMethod · 0.36
testFromNoneMethod · 0.36
testAddNMethod · 0.36
testNestedAddNMethod · 0.36
testZerosLikeMethod · 0.36
testNestedZerosLikeMethod · 0.36
testCopyToGPUMethod · 0.36
testNestedCopyToGPUMethod · 0.36
testOptionalSpecMethod · 0.36