Legacy. Deprecated in favor of above.
| 201 | |
| 202 | /// Legacy. Deprecated in favor of above. |
| 203 | inline TfLiteStatus SetTensorParametersReadWrite( |
| 204 | int tensor_index, TfLiteType type, const char* name, |
| 205 | const std::vector<int>& dims, TfLiteQuantizationParams quantization, |
| 206 | bool is_variable = false) { |
| 207 | return SetTensorParametersReadWrite(tensor_index, type, name, dims.size(), |
| 208 | dims.data(), quantization, is_variable); |
| 209 | } |
| 210 | TfLiteStatus SetTensorParametersReadWrite( |
| 211 | int tensor_index, TfLiteType type, const char* name, const size_t rank, |
| 212 | const int* dims, TfLiteQuantizationParams quantization, |