/external/tensorflow/tensorflow/lite/kernels/ |
D | kernel_util_test.cc | 312 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 …]
|
D | svdf.cc | 223 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/ |
D | clamp-microkernel-tester.h | 97 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);
|
D | maxpool-microkernel-tester.h | 184 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);
|
D | vunary-microkernel-tester.h | 122 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);
|
D | argmaxpool-microkernel-tester.h | 212 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);
|
D | vbinary-microkernel-tester.h | 151 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);
|
D | vbinaryc-microkernel-tester.h | 148 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);
|
D | spmm-microkernel-tester.h | 260 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()
|
D | prelu-microkernel-tester.h | 153 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);
|
D | gemm-microkernel-tester.h | 461 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 …]
|
D | vmulcaddc-microkernel-tester.h | 165 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);
|
D | dwconv-spchw-microkernel-tester.h | 269 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);
|
D | conv-hwc-microkernel-tester.h | 364 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);
|
D | conv-hwc2spchw-microkernel-tester.h | 364 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);
|
D | dwconv-microkernel-tester.h | 305 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);
|
D | avgpool-microkernel-tester.h | 592 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/ |
D | c_api_test.cc | 90 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/ |
D | hexagon_control_wrapper.cc | 198 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()
|
D | graph_transferer_test.cc | 253 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/ |
D | f32-conv-hwc.cc | 81 xnn_f32_output_params output_params = in DConv3X3S2P1Benchmark() local 100 &output_params); in DConv3X3S2P1Benchmark()
|
D | f32-conv-hwc2spchw.cc | 81 xnn_f32_output_params output_params = in DConvHWC2SpCHW3X3S2P1Benchmark() local 100 &output_params); in DConvHWC2SpCHW3X3S2P1Benchmark()
|
D | f16-gemm.cc | 70 xnn_f16_output_params output_params{ in GEMMBenchmark() local 93 &output_params); in GEMMBenchmark()
|
D | f32-dwconv-spchw.cc | 113 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/ |
D | astro.h | 36 output_params_t output_params; member
|