Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantization_utils.cc313 std::vector<float> scale_invs(channel_dim_size); in SymmetricPerChannelQuantization() local
321 scale_invs[channel_idx] = 0; in SymmetricPerChannelQuantization()
323 scale_invs[channel_idx] = half_scale / half_range; in SymmetricPerChannelQuantization()
328 SymmetricPerChannelQuantizeValues(input, scale_invs, tensor->shape, in SymmetricPerChannelQuantization()