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

Function TfLiteFloatArrayGetSizeInBytes

tensorflow/lite/c/c_api_internal.c:76–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74void TfLiteIntArrayFree(TfLiteIntArray* a) { free(a); }
75
76int TfLiteFloatArrayGetSizeInBytes(int size) {
77 static TfLiteFloatArray dummy;
78 return sizeof(dummy) + sizeof(dummy.data[0]) * size;
79}
80
81TfLiteFloatArray* TfLiteFloatArrayCreate(int size) {
82 TfLiteFloatArray* ret =

Callers 1

TfLiteFloatArrayCreateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected