Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/tools/
Dflatbuffer_utils_test.py70 final_buffer = final_model.buffers[1].data
72 self.assertEqual(initial_buffer.data[i], final_buffer.data[i])
118 final_buffer = final_model.buffers[1].data
120 self.assertEqual(initial_buffer.data[i], final_buffer.data[i])
161 final_buffer = final_model.buffers[1].data
163 self.assertNotEqual(initial_buffer.data[j], final_buffer.data[j])
/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantization_utils.cc358 auto final_buffer = in SymmetricQuantizeFloatsToInt16() local
361 uint8_t* uint8_buffer = reinterpret_cast<uint8_t*>(final_buffer.data()); in SymmetricQuantizeFloatsToInt16()
583 std::vector<int8_t> final_buffer(num_elements); in SymmetricQuantizeTensorPerChannel() local
587 tensor, float_input_data, channel_dim_index, &scales, &final_buffer, in SymmetricQuantizeTensorPerChannel()
591 uint8_t* uint8_buffer = reinterpret_cast<uint8_t*>(final_buffer.data()); in SymmetricQuantizeTensorPerChannel()
630 auto final_buffer = SymmetricBiasQuantize<BiasType>(float_data, num_elements, in SymmetricPerLayerBiasQuantize() local
634 uint8_t* uint8_buffer = reinterpret_cast<uint8_t*>(final_buffer.data()); in SymmetricPerLayerBiasQuantize()
672 auto final_buffer = in SymmetricPerChannelBiasQuantize() local
676 uint8_t* uint8_buffer = reinterpret_cast<uint8_t*>(final_buffer.data()); in SymmetricPerChannelBiasQuantize()