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

Method SetTensorParametersReadOnly

tensorflow/lite/interpreter.h:177–185  ·  view source on GitHub ↗

Legacy. Deprecated in favor of above.

Source from the content-addressed store, hash-verified

175
176 /// Legacy. Deprecated in favor of above.
177 inline TfLiteStatus SetTensorParametersReadOnly(
178 int tensor_index, TfLiteType type, const char* name,
179 const std::vector<int>& dims, TfLiteQuantizationParams quantization,
180 const char* buffer, size_t bytes,
181 const Allocation* allocation = nullptr) {
182 return SetTensorParametersReadOnly(tensor_index, type, name, dims.size(),
183 dims.data(), quantization, buffer, bytes,
184 allocation);
185 }
186
187 TfLiteStatus SetTensorParametersReadOnly(
188 int tensor_index, TfLiteType type, const char* name, const size_t rank,

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected