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

Function TfLiteIntArrayCopy

tensorflow/lite/c/c_api_internal.c:65–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65TfLiteIntArray* TfLiteIntArrayCopy(const TfLiteIntArray* src) {
66 if (!src) return NULL;
67 TfLiteIntArray* ret = TfLiteIntArrayCreate(src->size);
68 if (ret) {
69 memcpy(ret->data, src->data, src->size * sizeof(int));
70 }
71 return ret;
72}
73
74void TfLiteIntArrayFree(TfLiteIntArray* a) { free(a); }
75

Callers 15

WriteToTensorMethod · 0.85
TESTFunction · 0.85
CopyOpRegistrationMethod · 0.85
AddOpRegistrationFunction · 0.85
FakeFusedRegistrationMethod · 0.85
CancelOpRegistrationMethod · 0.85
OkOpRegistrationMethod · 0.85
AddTfLiteMulOpMethod · 0.85
AddTensorMethod · 0.85
PrepareFunction · 0.85
PrepareFunction · 0.85

Calls 1

TfLiteIntArrayCreateFunction · 0.85

Tested by 9

TESTFunction · 0.68
CopyOpRegistrationMethod · 0.68
AddOpRegistrationFunction · 0.68
FakeFusedRegistrationMethod · 0.68
CancelOpRegistrationMethod · 0.68
OkOpRegistrationMethod · 0.68
AddTfLiteMulOpMethod · 0.68
TESTFunction · 0.68