MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / has_value

Method has_value

tensorflow/core/kernels/data/optional_ops.h:54–54  ·  view source on GitHub ↗

Returns true if `this` represents an actual value.

Source from the content-addressed store, hash-verified

52
53 // Returns true if `this` represents an actual value.
54 bool has_value() const { return values_ != nullptr; }
55
56 // REQUIRES: `this->has_value()` must be true.
57 const std::vector<Tensor>& get_values() const {

Callers 15

ConvertMethod · 0.45
ConvertChannelHandleMethod · 0.45
ParseShardingFromDeviceFunction · 0.45
TEST_FFunction · 0.45
BuildComputationFunction · 0.45
PrepareArgumentsFunction · 0.45
TESTFunction · 0.45
PropagateFromArgOpFunction · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 12

TEST_FFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
RunMultipleTimesMethod · 0.36
NearOrEqualMethod · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
CheckOutputShapesMethod · 0.36