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

Method GetValue

tensorflow/core/framework/variant.h:527–533  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

525 bool IsInlineValue() const { return is_inline_; }
526
527 ValueInterface* GetValue() {
528 if (IsInlineValue()) {
529 return value_.inline_value.AsValueInterface();
530 } else {
531 return value_.heap_value.get();
532 }
533 }
534
535 const ValueInterface* GetValue() const {
536 if (IsInlineValue()) {

Callers 3

TEST_FFunction · 0.45
VariantMethod · 0.45

Calls 2

AsValueInterfaceMethod · 0.80
getMethod · 0.45

Tested by 1

TEST_FFunction · 0.36