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

Function TfLiteIntArrayGetSizeInBytes

tensorflow/lite/c/c_api_internal.c:23–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21#endif // TF_LITE_STATIC_MEMORY
22
23size_t TfLiteIntArrayGetSizeInBytes(int size) {
24 static TfLiteIntArray dummy;
25 return sizeof(dummy) + sizeof(dummy.data[0]) * size;
26}
27
28int TfLiteIntArrayEqual(const TfLiteIntArray* a, const TfLiteIntArray* b) {
29 if (a == b) return 1;

Callers 2

CreateDelegateParamsFunction · 0.85
TfLiteIntArrayCreateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected