Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dquantization_util_test.cc204 TfLiteTensor quantized_output = CreateQuantizedTensor( in TEST() local
208 std::vector<TfLiteTensor> tensors{output, quantized_output}; in TEST()
226 TfLiteTensor quantized_output = CreateQuantizedTensor( in TEST() local
230 std::vector<TfLiteTensor> tensors{output, quantized_output}; in TEST()
/external/tensorflow/tensorflow/lite/kernels/
Dtest_util.h415 std::vector<int8_t> quantized_output(num_inputs); in PerChannelSymmetricQuantizeAndPopulate()
423 input_data.data(), scales_inv, shape, channel_index, &quantized_output); in PerChannelSymmetricQuantizeAndPopulate()
425 PopulateTensor(index, /*offset=*/0, quantized_output.data(), in PerChannelSymmetricQuantizeAndPopulate()
426 quantized_output.data() + quantized_output.size()); in PerChannelSymmetricQuantizeAndPopulate()
434 std::vector<T> quantized_output(num_inputs); in PerChannelQuantizeBiasPopulateTensor()
438 quantized_output[i] = input_data[i] / scale; in PerChannelQuantizeBiasPopulateTensor()
447 std::vector<T> quantized_output(num_inputs); in PerChannelQuantizeBiasPopulateTensor()
451 quantized_output[i] = input_data[i] / scale; in PerChannelQuantizeBiasPopulateTensor()
453 PopulateTensor(index, /*offset=*/0, quantized_output.data(), in PerChannelQuantizeBiasPopulateTensor()
454 quantized_output.data() + quantized_output.size()); in PerChannelQuantizeBiasPopulateTensor()
/external/tensorflow/tensorflow/compiler/tests/
Dquantized_ops_test.py96 quantized_output = array_ops.slice(transposed_quantized_output, [0, 0],
99 value = session.run(quantized_output)
/external/tensorflow/tensorflow/python/ops/
Dquantized_conv_ops_test.py77 quantized_output = value[0]
80 float_output = self._QuantizedOutputToFloat(quantized_output, output_min,
/external/tensorflow/tensorflow/lite/kernels/internal/
Dlog_quantized_test.cc124 std::vector<int32> quantized_output(n, 0); in RunSingleTest() local
134 quantized_output[i] = in RunSingleTest()
148 CheckOutputData(quantized_output, float_gen_output, test_input, label.str(), in RunSingleTest()
/external/tensorflow/tensorflow/lite/examples/ios/camera/
DCameraExampleViewController.mm358 uint8_t* quantized_output = interpreter->typed_output_tensor<uint8_t>(0);
363 output[i] = (quantized_output[i] - zero_point) * scale;