| 206 | } |
| 207 | |
| 208 | TfLiteStatus 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 | |
| 217 | TfLiteStatus Interpreter::SetTensorParametersReadOnly( |
| 218 | int tensor_index, TfLiteType type, const char* name, const size_t rank, |