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

Function TfLiteTensorFree

tensorflow/lite/c/c_api_internal.c:115–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115void TfLiteTensorFree(TfLiteTensor* t) {
116 TfLiteTensorDataFree(t);
117 if (t->dims) TfLiteIntArrayFree(t->dims);
118 t->dims = NULL;
119
120 TfLiteQuantizationFree(&t->quantization);
121}
122
123void TfLiteTensorReset(TfLiteType type, const char* name, TfLiteIntArray* dims,
124 TfLiteQuantizationParams quantization, char* buffer,

Callers 6

~SubgraphMethod · 0.85
~KernelUtilTestMethod · 0.85
SetShapeMethod · 0.85
TEST_FFunction · 0.85
TfLiteTensorResetFunction · 0.85
TESTFunction · 0.85

Calls 3

TfLiteTensorDataFreeFunction · 0.85
TfLiteIntArrayFreeFunction · 0.85
TfLiteQuantizationFreeFunction · 0.85

Tested by 4

~KernelUtilTestMethod · 0.68
SetShapeMethod · 0.68
TEST_FFunction · 0.68
TESTFunction · 0.68