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

Method SetTensorParametersReadWrite

tensorflow/lite/interpreter.cc:208–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208TfLiteStatus Interpreter::SetTensorParametersReadWrite(
209 int tensor_index, TfLiteType type, const char* name,
210 const std::vector<int>& dims, TfLiteQuantization quantization,
211 bool is_variable) {
212 return primary_subgraph().SetTensorParametersReadWrite(
213 tensor_index, type, name, dims.size(), dims.data(), quantization,
214 is_variable);
215}
216
217TfLiteStatus Interpreter::SetTensorParametersReadOnly(
218 int tensor_index, TfLiteType type, const char* name, const size_t rank,

Callers 7

ParseTensorsMethod · 0.45
TESTFunction · 0.45
SetUpMethod · 0.45
SetUpMethod · 0.45
TEST_FFunction · 0.45
SetUpMethod · 0.45
SetUpMethod · 0.45

Calls 3

sizeMethod · 0.45
dataMethod · 0.45

Tested by 6

TESTFunction · 0.36
SetUpMethod · 0.36
SetUpMethod · 0.36
TEST_FFunction · 0.36
SetUpMethod · 0.36
SetUpMethod · 0.36