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

Function IsRef

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

@return true if object is a reference.

Source from the content-addressed store, hash-verified

70
71// @return true if object is a reference.
72inline bool IsRef(const Object& object) {
73 return !absl::get_if<ObjectData>(&object.object);
74}
75
76inline ObjectRef GetRef(const Object& object) {
77 auto ref = absl::get_if<ObjectRef>(&object.object);

Callers 3

CompileMethod · 0.85
AddProgramMethod · 0.85
api.ccFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected