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

Function TEST

tensorflow/lite/c/c_api_internal_test.cc:26–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24// structures more thoroughly.
25
26TEST(IntArray, TestIntArrayCreate) {
27 TfLiteIntArray* a = TfLiteIntArrayCreate(0);
28 TfLiteIntArray* b = TfLiteIntArrayCreate(3);
29 TfLiteIntArrayFree(a);
30 TfLiteIntArrayFree(b);
31}
32
33TEST(IntArray, TestIntArrayCopy) {
34 TfLiteIntArray* a = TfLiteIntArrayCreate(2);

Callers

nothing calls this directly

Calls 8

TfLiteIntArrayCreateFunction · 0.85
TfLiteIntArrayFreeFunction · 0.85
TfLiteIntArrayCopyFunction · 0.85
TfLiteIntArrayEqualFunction · 0.85
TfLiteFloatArrayCreateFunction · 0.85
TfLiteFloatArrayFreeFunction · 0.85
TfLiteTypeGetNameFunction · 0.85
TfLiteTensorFreeFunction · 0.85

Tested by

no test coverage detected