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

Function GetRef

tensorflow/lite/delegates/gpu/gl/object.h:76–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76inline ObjectRef GetRef(const Object& object) {
77 auto ref = absl::get_if<ObjectRef>(&object.object);
78 return ref ? *ref : kInvalidObjectRef;
79}
80
81inline const ObjectData* GetData(const Object& object) {
82 return absl::get_if<ObjectData>(&object.object);

Callers 6

AddProgramMethod · 0.85
PrepareForExecutionMethod · 0.85
AddUsageRecordFunction · 0.85
AssignInternalObjectsMethod · 0.85
api.ccFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected