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

Method get

tensorflow/core/framework/variant.cc:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35template <>
36void* Variant::get() {
37 if (is_empty()) {
38 return nullptr;
39 }
40 return GetValue()->RawPtr();
41}
42
43template <>
44const void* Variant::get() const {

Callers 15

SetNodeMethod · 0.45
MakeIteratorMethod · 0.45
TESTFunction · 0.45
allocate_outputMethod · 0.45
set_outputMethod · 0.45
TESTFunction · 0.45
CreateOpMethod · 0.45
TEST_FFunction · 0.45
OptimizeHillClimbMethod · 0.45

Calls 2

RawPtrMethod · 0.80
GetValueFunction · 0.50

Tested by 8

TESTFunction · 0.36
TESTFunction · 0.36
CreateOpMethod · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
BM_InputRangeHelperFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36