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

Function ConvertArrayToTfLiteIntArray

tensorflow/lite/util.cc:32–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32TfLiteIntArray* ConvertArrayToTfLiteIntArray(const int rank, const int* dims) {
33 TfLiteIntArray* output = TfLiteIntArrayCreate(rank);
34 for (size_t i = 0; i < rank; i++) {
35 output->data[i] = dims[i];
36 }
37 return output;
38}
39
40bool EqualArrayAndTfLiteIntArray(const TfLiteIntArray* a, const int b_size,
41 const int* b) {

Calls 1

TfLiteIntArrayCreateFunction · 0.85

Tested by

no test coverage detected