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

Function TfLiteIntArrayEqualsArray

tensorflow/lite/c/c_api_internal.c:34–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34int TfLiteIntArrayEqualsArray(const TfLiteIntArray* a, int b_size,
35 const int b_data[]) {
36 if (a == NULL) return (b_size == 0);
37 if (a->size != b_size) return 0;
38 int i = 0;
39 for (; i < a->size; i++)
40 if (a->data[i] != b_data[i]) return 0;
41 return 1;
42}
43
44#ifndef TF_LITE_STATIC_MEMORY
45

Callers 10

PrepareFunction · 0.85
PrepareFunction · 0.85
PrepareFunction · 0.85
PrepareFunction · 0.85
PrepareFunction · 0.85
PrepareFunction · 0.85
PrepareFunction · 0.85
PrepareFunction · 0.85
PrepareFunction · 0.85
TfLiteIntArrayEqualFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected