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

Method SetTensorParametersReadOnly

tensorflow/lite/interpreter.cc:199–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197}
198
199TfLiteStatus Interpreter::SetTensorParametersReadOnly(
200 int tensor_index, TfLiteType type, const char* name,
201 const std::vector<int>& dims, TfLiteQuantization quantization,
202 const char* buffer, size_t bytes, const Allocation* allocation) {
203 return primary_subgraph().SetTensorParametersReadOnly(
204 tensor_index, type, name, dims.size(), dims.data(), quantization, buffer,
205 bytes, allocation);
206}
207
208TfLiteStatus Interpreter::SetTensorParametersReadWrite(
209 int tensor_index, TfLiteType type, const char* name,

Callers 3

ParseTensorsMethod · 0.45
TESTFunction · 0.45
TESTFunction · 0.45

Calls 3

sizeMethod · 0.45
dataMethod · 0.45

Tested by 2

TESTFunction · 0.36
TESTFunction · 0.36