Home
last modified time | relevance | path

Searched refs:uint8_buffer (Results 1 – 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantization_utils.cc361 uint8_t* uint8_buffer = reinterpret_cast<uint8_t*>(final_buffer.data()); in SymmetricQuantizeFloatsToInt16() local
365 return AddQuantizationParams(scales, zero_points, 0, uint8_buffer, in SymmetricQuantizeFloatsToInt16()
440 uint8_t* uint8_buffer = reinterpret_cast<uint8_t*>(quantized_buffer.data()); in SymmetricQuantizeTensorFromMinMax() local
441 model->buffers[tensor->buffer]->data.assign(uint8_buffer, in SymmetricQuantizeTensorFromMinMax()
442 uint8_buffer + num_elements); in SymmetricQuantizeTensorFromMinMax()
478 uint8_t* uint8_buffer = reinterpret_cast<uint8_t*>(quantized_buffer.data()); in SymmetricQuantizeTensor() local
479 model->buffers[tensor->buffer]->data.assign(uint8_buffer, in SymmetricQuantizeTensor()
480 uint8_buffer + num_elements); in SymmetricQuantizeTensor()
591 uint8_t* uint8_buffer = reinterpret_cast<uint8_t*>(final_buffer.data()); in SymmetricQuantizeTensorPerChannel() local
595 uint8_buffer, buffer_size, TensorType_INT8, in SymmetricQuantizeTensorPerChannel()
[all …]