| 197 | } |
| 198 | |
| 199 | TfLiteStatus 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 | |
| 208 | TfLiteStatus Interpreter::SetTensorParametersReadWrite( |
| 209 | int tensor_index, TfLiteType type, const char* name, |