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

Function ByteSizeOf

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

Source from the content-addressed store, hash-verified

118}
119
120inline size_t ByteSizeOf(const Object& object) {
121 return SizeOf(object.data_type) * /* vec4 */ 4 * NumElements(object.size);
122}
123
124inline Object MakeReadonlyObject(const ObjectSize& size,
125 const std::vector<float>& data) {

Callers 3

MakeBindingFuncFunction · 0.70
api.ccFile · 0.70

Calls 2

NumElementsFunction · 0.70
SizeOfFunction · 0.50

Tested by

no test coverage detected