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

Method Decode

tensorflow/core/framework/variant.cc:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26Variant::~Variant() { clear(); }
27
28bool Variant::Decode(VariantTensorData data) {
29 if (!is_empty()) {
30 return GetValue()->Decode(std::move(data));
31 }
32 return true;
33}
34
35template <>
36void* Variant::get() {

Callers 3

DecodeVariantImplFunction · 0.45
DecodeVariantListFunction · 0.45

Calls 1

GetValueFunction · 0.50

Tested by

no test coverage detected