Home
last modified time | relevance | path

Searched refs:output_params (Results 1 – 25 of 38) sorted by relevance

12

/external/tensorflow/tensorflow/lite/kernels/
Dkernel_util_test.cc312 auto* output_params = reinterpret_cast<TfLiteAffineQuantization*>( in TEST_F() local
314 output_params->scale = TfLiteFloatArrayCreate(1); in TEST_F()
315 output_params->scale->data[0] = 0.5; in TEST_F()
316 output_params->zero_point = TfLiteIntArrayCreate(1); in TEST_F()
317 output_params->zero_point->data[0] = -128; in TEST_F()
318 output.quantization.params = reinterpret_cast<void*>(output_params); in TEST_F()
415 auto* output_params = reinterpret_cast<TfLiteAffineQuantization*>( in TEST_F() local
417 output_params->scale = TfLiteFloatArrayCreate(1); in TEST_F()
418 output_params->scale->data[0] = 0.5; in TEST_F()
419 output_params->zero_point = TfLiteIntArrayCreate(1); in TEST_F()
[all …]
Dsvdf.cc223 auto* output_params = reinterpret_cast<TfLiteAffineQuantization*>( in Prepare() local
230 output_params->scale->data[0]; in Prepare()
299 auto* output_params = reinterpret_cast<TfLiteAffineQuantization*>( in Eval() local
312 output_params->zero_point->data[0]); in Eval()
/external/XNNPACK/test/
Dclamp-microkernel-tester.h97 union xnn_u8_output_params output_params = { }; variable
100 output_params = xnn_init_u8_output_params(qmin(), qmax());
103 output_params = xnn_init_scalar_u8_output_params(qmin(), qmax());
113 clamp(n() * sizeof(uint8_t), x_data, y.data(), &output_params);
146 xnn_f32_output_params output_params = { }; variable
149 output_params = xnn_init_f32_output_params(float(qmin()), float(qmax()));
152 output_params = xnn_init_scalar_f32_output_params(float(qmin()), float(qmax()));
162 clamp(n() * sizeof(float), x_data, y.data(), &output_params);
Dmaxpool-microkernel-tester.h184 xnn_u8_output_params output_params = { }; variable
187 output_params = xnn_init_u8_output_params(qmin(), qmax());
190 output_params = xnn_init_scalar_u8_output_params(qmin(), qmax());
212 &output_params);
275 xnn_f32_output_params output_params = { }; variable
278 output_params = xnn_init_f32_output_params(output_min, output_max);
281 output_params = xnn_init_scalar_f32_output_params(output_min, output_max);
295 &output_params);
Dvunary-microkernel-tester.h122 xnn_f32_output_params output_params = { }; variable
125 output_params = xnn_init_f32_output_params(y_min, y_max);
128 output_params = xnn_init_scalar_f32_output_params(y_min, y_max);
133 vunary(batch_size() * sizeof(float), x_data, y.data(), &output_params);
Dargmaxpool-microkernel-tester.h212 xnn_f32_output_params output_params = { }; variable
215 output_params = xnn_init_f32_output_params(output_min, output_max);
218 output_params = xnn_init_scalar_f32_output_params(output_min, output_max);
232 &output_params);
315 xnn_f32_output_params output_params = { }; variable
318 output_params = xnn_init_f32_output_params(output_min, output_max);
321 output_params = xnn_init_scalar_f32_output_params(output_min, output_max);
337 &output_params);
Dvbinary-microkernel-tester.h151 xnn_f32_output_params output_params = { }; variable
154 output_params = xnn_init_f32_output_params(y_min, y_max);
157 output_params = xnn_init_scalar_f32_output_params(y_min, y_max);
162 vbinary(batch_size() * sizeof(float), a_data, b_data, y.data(), &output_params);
Dvbinaryc-microkernel-tester.h148 xnn_f32_output_params output_params = { }; variable
151 output_params = xnn_init_f32_output_params(y_min, y_max);
154 output_params = xnn_init_scalar_f32_output_params(y_min, y_max);
159 vbinaryc(batch_size() * sizeof(float), a_data, &b, y.data(), &output_params);
Dspmm-microkernel-tester.h260 xnn_f32_output_params output_params = { }; variable
263 output_params = xnn_init_f32_output_params(c_min, c_max);
266 output_params = xnn_init_scalar_f32_output_params(c_min, c_max);
272 &output_params);
432 xnn_f16_output_params output_params; in Test() local
433 output_params.scale = UINT16_C(0x3C00) /* 1.0 */; in Test()
434 output_params.max = fp16_ieee_from_fp32_value(c_max); in Test()
435 output_params.min = fp16_ieee_from_fp32_value(c_min); in Test()
439 &output_params); in Test()
Dprelu-microkernel-tester.h153 xnn_f32_output_params output_params = { }; variable
156 output_params = xnn_init_f32_output_params(y_min, y_max);
159 output_params = xnn_init_scalar_f32_output_params(y_min, y_max);
173 &output_params);
Dgemm-microkernel-tester.h461 xnn_f16_output_params output_params; variable
462 output_params.scale = UINT16_C(0x3C00) /* 1.0 */;
495 output_params.max = fp16_ieee_from_fp32_value(c_max);
496 output_params.min = fp16_ieee_from_fp32_value(c_min);
506 &output_params);
571 xnn_f32_output_params output_params = { }; variable
574 output_params = xnn_init_f32_output_params(c_min, c_max);
577 output_params = xnn_init_scalar_f32_output_params(c_min, c_max);
588 &output_params);
650 xnn_f32_output_params output_params = { }; variable
[all …]
Dvmulcaddc-microkernel-tester.h165 xnn_f32_output_params output_params = { }; variable
168 output_params = xnn_init_f32_output_params(y_min, y_max);
171 output_params = xnn_init_scalar_f32_output_params(y_min, y_max);
180 &output_params);
Ddwconv-spchw-microkernel-tester.h269 xnn_f32_spchw_params output_params = { }; variable
272 output_params = xnn_init_f32_spchw_params(input_width(), output_min, output_max);
275 output_params = xnn_init_scalar_f32_spchw_params(input_width(), output_min, output_max);
290 &output_params);
Dconv-hwc-microkernel-tester.h364 xnn_f32_output_params output_params = { }; variable
367 output_params = xnn_init_f32_output_params(output_min, output_max);
370 output_params = xnn_init_scalar_f32_output_params(output_min, output_max);
382 &output_params);
Dconv-hwc2spchw-microkernel-tester.h364 xnn_f32_output_params output_params = { }; variable
367 output_params = xnn_init_f32_output_params(output_min, output_max);
370 output_params = xnn_init_scalar_f32_output_params(output_min, output_max);
382 &output_params);
Ddwconv-microkernel-tester.h305 xnn_f32_output_params output_params = { }; variable
308 output_params = xnn_init_f32_output_params(output_min, output_max);
311 output_params = xnn_init_scalar_f32_output_params(output_min, output_max);
326 &output_params);
Davgpool-microkernel-tester.h592 xnn_f32_output_params output_params = { }; variable
595 output_params = xnn_init_f32_output_params(y_min, y_max);
598 output_params = xnn_init_scalar_f32_output_params(y_min, y_max);
607 &output_params);
672 xnn_f32_output_params output_params = { }; variable
675 output_params = xnn_init_f32_output_params(y_min, y_max);
678 output_params = xnn_init_scalar_f32_output_params(y_min, y_max);
687 &output_params);
/external/tensorflow/tensorflow/lite/c/
Dc_api_test.cc90 TfLiteQuantizationParams output_params = in TEST() local
92 EXPECT_EQ(output_params.scale, 0.f); in TEST()
93 EXPECT_EQ(output_params.zero_point, 0); in TEST()
143 TfLiteQuantizationParams output_params = in TEST() local
145 EXPECT_EQ(output_params.scale, 0.003922f); in TEST()
146 EXPECT_EQ(output_params.zero_point, 0); in TEST()
156 output_params.scale * (output[0] - output_params.zero_point); in TEST()
158 output_params.scale * (output[1] - output_params.zero_point); in TEST()
/external/tensorflow/tensorflow/core/kernels/hexagon/
Dhexagon_control_wrapper.cc198 for (const GraphTransferNodeOutputInfo& output_params : in SetupGraph() local
200 outputs_count += output_params.max_byte_size_size(); in SetupGraph()
227 for (const GraphTransferNodeOutputInfo& output_params : in SetupGraph() local
229 const int count = output_params.max_byte_size_size(); in SetupGraph()
233 const int size = output_params.max_byte_size(i); in SetupGraph()
237 const int node_id = output_params.node_id(); in SetupGraph()
Dgraph_transferer_test.cc253 const GraphTransferNodeOutputInfo* output_params = in SanityCheckNodes() local
255 ASSERT_NE(nullptr, output_params); in SanityCheckNodes()
256 EXPECT_EQ(params.output_count(), output_params->max_byte_size_size()); in SanityCheckNodes()
257 EXPECT_EQ(params.node_id(), output_params->node_id()); in SanityCheckNodes()
258 for (const int max_size : output_params->max_byte_size()) { in SanityCheckNodes()
/external/XNNPACK/bench/
Df32-conv-hwc.cc81 xnn_f32_output_params output_params = in DConv3X3S2P1Benchmark() local
100 &output_params); in DConv3X3S2P1Benchmark()
Df32-conv-hwc2spchw.cc81 xnn_f32_output_params output_params = in DConvHWC2SpCHW3X3S2P1Benchmark() local
100 &output_params); in DConvHWC2SpCHW3X3S2P1Benchmark()
Df16-gemm.cc70 xnn_f16_output_params output_params{ in GEMMBenchmark() local
93 &output_params); in GEMMBenchmark()
Df32-dwconv-spchw.cc113 xnn_f32_spchw_params output_params = in DWConvCHWBenchmark() local
131 &output_params); in DWConvCHWBenchmark()
230 xnn_f32_spchw_params output_params = in DWConvHWoTCTBenchmark() local
249 &output_params); in DWConvHWoTCTBenchmark()
/external/u-boot/board/astro/mcf5373l/
Dastro.h36 output_params_t output_params; member

12