Home
last modified time | relevance | path

Searched refs:AddParam (Results 1 – 25 of 31) sorted by relevance

12

/external/tensorflow/tensorflow/lite/tools/benchmark/
Dbenchmark_test.cc42 params.AddParam("num_runs", BenchmarkParam::Create<int32_t>(num_runs)); in CreateParams()
43 params.AddParam("min_secs", BenchmarkParam::Create<float>(min_secs)); in CreateParams()
44 params.AddParam("max_secs", BenchmarkParam::Create<float>(max_secs)); in CreateParams()
45 params.AddParam("run_delay", BenchmarkParam::Create<float>(-1.0f)); in CreateParams()
46 params.AddParam("num_threads", BenchmarkParam::Create<int32_t>(1)); in CreateParams()
47 params.AddParam("benchmark_name", BenchmarkParam::Create<std::string>("")); in CreateParams()
48 params.AddParam("output_prefix", BenchmarkParam::Create<std::string>("")); in CreateParams()
49 params.AddParam("warmup_runs", BenchmarkParam::Create<int32_t>(1)); in CreateParams()
52 params.AddParam("graph", in CreateParams()
56 params.AddParam("graph", in CreateParams()
[all …]
Dbenchmark_performance_options.cc126 params.AddParam("perf_options_list", in DefaultParams()
128 params.AddParam("option_benchmark_run_delay", in DefaultParams()
130 params.AddParam("random_shuffle_benchmark_runs", in DefaultParams()
261 params.AddParam("num_threads", BenchmarkParam::Create<int32_t>(count)); in CreatePerformanceOptions()
271 params.AddParam("use_gpu", BenchmarkParam::Create<bool>(true)); in CreatePerformanceOptions()
272 params.AddParam("gpu_precision_loss_allowed", in CreatePerformanceOptions()
278 params.AddParam("use_gpu", BenchmarkParam::Create<bool>(true)); in CreatePerformanceOptions()
291 params.AddParam("use_nnapi", BenchmarkParam::Create<bool>(true)); in CreatePerformanceOptions()
292 params.AddParam("nnapi_accelerator_name", in CreatePerformanceOptions()
301 params.AddParam("use_nnapi", BenchmarkParam::Create<bool>(true)); in CreatePerformanceOptions()
[all …]
Dbenchmark_model.cc32 params.AddParam("num_runs", BenchmarkParam::Create<int32_t>(50)); in DefaultParams()
33 params.AddParam("min_secs", BenchmarkParam::Create<float>(1.0f)); in DefaultParams()
34 params.AddParam("max_secs", BenchmarkParam::Create<float>(150.0f)); in DefaultParams()
35 params.AddParam("run_delay", BenchmarkParam::Create<float>(-1.0f)); in DefaultParams()
36 params.AddParam("num_threads", BenchmarkParam::Create<int32_t>(1)); in DefaultParams()
37 params.AddParam("benchmark_name", BenchmarkParam::Create<std::string>("")); in DefaultParams()
38 params.AddParam("output_prefix", BenchmarkParam::Create<std::string>("")); in DefaultParams()
39 params.AddParam("warmup_runs", BenchmarkParam::Create<int32_t>(1)); in DefaultParams()
40 params.AddParam("warmup_min_secs", BenchmarkParam::Create<float>(0.5f)); in DefaultParams()
Dhexagon_delegate_provider.cc63 params->AddParam("use_hexagon", BenchmarkParam::Create<bool>(false)); in AddParams()
64 params->AddParam("hexagon_lib_path", in AddParams()
66 params->AddParam("hexagon_profiling", BenchmarkParam::Create<bool>(false)); in AddParams()
Dgpu_delegate_provider.cc70 params->AddParam("use_gpu", BenchmarkParam::Create<bool>(false)); in AddParams()
72 params->AddParam("gpu_precision_loss_allowed", in AddParams()
76 params->AddParam("gpu_wait_type", BenchmarkParam::Create<std::string>("")); in AddParams()
Dbenchmark_tflite_model.cc258 default_params.AddParam("graph", BenchmarkParam::Create<std::string>("")); in DefaultParams()
259 default_params.AddParam("input_layer", in DefaultParams()
261 default_params.AddParam("input_layer_shape", in DefaultParams()
263 default_params.AddParam("input_layer_value_range", in DefaultParams()
265 default_params.AddParam("use_legacy_nnapi", in DefaultParams()
267 default_params.AddParam("allow_fp16", BenchmarkParam::Create<bool>(false)); in DefaultParams()
268 default_params.AddParam("require_full_delegation", in DefaultParams()
270 default_params.AddParam( in DefaultParams()
273 default_params.AddParam("max_profiling_buffer_entries", in DefaultParams()
Dnnapi_delegate_provider.cc58 params->AddParam("use_nnapi", BenchmarkParam::Create<bool>(false)); in AddParams()
59 params->AddParam("nnapi_execution_preference", in AddParams()
61 params->AddParam("nnapi_accelerator_name", in AddParams()
Dbenchmark_params.h88 void AddParam(const std::string& name, in AddParam() function
/external/tensorflow/tensorflow/compiler/xla/tests/
Dpad_test.cc96 Pad(AddParam(LiteralUtil::CreateR1<float>({}), &b), in XLA_TEST_P()
97 AddParam(LiteralUtil::CreateR0<float>(0.1), &b), padding_config); in XLA_TEST_P()
111 Pad(AddParam(LiteralUtil::CreateR1<float>({}), &b), in XLA_TEST_P()
112 AddParam(LiteralUtil::CreateR0<float>(0.1), &b), padding_config); in XLA_TEST_P()
126 Pad(AddParam(LiteralUtil::CreateR1<float>({1, 2, 3}), &b), in XLA_TEST_P()
127 AddParam(LiteralUtil::CreateR0<float>(0.1), &b), padding_config); in XLA_TEST_P()
134 Pad(AddParam(Array4D<float>(2, 0, 3, 2), &b), in XLA_TEST_P()
135 AddParam(LiteralUtil::CreateR0<float>(1.5), &b), in XLA_TEST_P()
151 Pad(AddParam(*input, &b), AddParam(LiteralUtil::CreateR0<float>(1.5), &b), in TEST_P()
170 Pad(AddParam(input, &b), in TEST_P()
[all …]
Ddot_operation_test.cc1198 auto x = AddParam( in XLA_TEST_P()
1202 auto y = AddParam( in XLA_TEST_P()
1287 auto x = AddParam( in XLA_TEST_P()
1291 auto y = AddParam( in XLA_TEST_P()
1534 AddParam(LiteralUtil::CreateR3FromArray3D<float>(input_arr), &builder); in XLA_TEST_F()
1551 AddParam(LiteralUtil::CreateR3FromArray3D<float>(input_arr), &builder); in XLA_TEST_F()
1572 AddParam(LiteralUtil::CreateR4FromArray4D<float>(input_arr), &builder); in XLA_TEST_F()
1589 AddParam(LiteralUtil::CreateR3FromArray3D<float>(input_arr), &builder); in XLA_TEST_F()
1613 AddParam(LiteralUtil::CreateR4FromArray4D<float>(input_arr), &builder); in XLA_TEST_F()
Dreverse_test.cc89 auto a = AddParam(input_literal, &builder); in TEST_P()
Dclient_library_test_base.h288 XlaOp AddParam(const Literal& argument, XlaBuilder* builder);
291 XlaOp AddParam(const Array<T>& argument, XlaBuilder* builder) { in AddParam() function
292 return AddParam(LiteralUtil::CreateFromArray(argument), builder); in AddParam()
Dcpu_gpu_fusion_test.cc817 XlaOp p0 = AddParam(l1, &b); in XLA_TEST_F()
820 auto pN = AddParam((i % 2 == 0 ? l1 : l2), &b); in XLA_TEST_F()
Dclient_library_test_base.cc594 XlaOp ClientLibraryTestBase::AddParam(const Literal& argument, in AddParam() function in xla::ClientLibraryTestBase
/external/v8/src/compiler/
Dlinkage.cc293 locations.AddParam(LinkageLocation::ForCallerFrameSlot( in GetCEntryStubCallDescriptor()
297 locations.AddParam( in GetCEntryStubCallDescriptor()
301 locations.AddParam( in GetCEntryStubCallDescriptor()
305 locations.AddParam(regloc(kContextRegister, MachineType::AnyTagged())); in GetCEntryStubCallDescriptor()
343 locations.AddParam(LinkageLocation::ForCallerFrameSlot( in GetJSCallDescriptor()
348 locations.AddParam( in GetJSCallDescriptor()
352 locations.AddParam( in GetJSCallDescriptor()
356 locations.AddParam(regloc(kContextRegister, MachineType::AnyTagged())); in GetJSCallDescriptor()
430 locations.AddParam(regloc(reg, type)); in GetStubCallDescriptor()
434 locations.AddParam(LinkageLocation::ForCallerFrameSlot( in GetStubCallDescriptor()
[all …]
Dc-linkage.cc164 out_locations->AddParam( in BuildParameterLocations()
169 out_locations->AddParam( in BuildParameterLocations()
172 out_locations->AddParam( in BuildParameterLocations()
203 out_locations->AddParam( in BuildParameterLocations()
208 out_locations->AddParam(LinkageLocation::ForRegister( in BuildParameterLocations()
212 out_locations->AddParam(LinkageLocation::ForRegister( in BuildParameterLocations()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcustom_call_test.cc164 auto p0 = AddParam(LiteralUtil::CreateR0(false), &b); in TEST_F()
166 AddParam(LiteralUtil::MakeTupleOwned( in TEST_F()
171 AddParam(LiteralUtil::MakeTupleOwned( in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dmath_test.cc47 Log(AddParam(LiteralUtil::CreateR1<T>({T{0.0}, T{-0.0}}), &b)); in TestLogEdgeCases()
58 Log1p(AddParam(LiteralUtil::CreateR1<T>({T{0.0}, T{-0.0}, T{-1.0}}), &b)); in TestLog1pEdgeCases()
101 IsNegZero(AddParam( in TestIsNegZero()
138 auto x = AddParam(LiteralUtil::CreateR1<T>({-inf}), &b); in TestSqrtPowInequivalence()
150 auto x = AddParam(LiteralUtil::CreateR1<T>({T{-1}, T{1}, T{0}}), &b); in TestErfEdgeCases()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dinst_buff_addr_check_pass.h52 void AddParam(uint32_t type_id, std::vector<uint32_t>* param_vec,
Dinst_buff_addr_check_pass.cpp154 void InstBuffAddrCheckPass::AddParam(uint32_t type_id, in AddParam() function in spvtools::opt::InstBuffAddrCheckPass
189 AddParam(GetUint64Id(), &param_vec, &input_func); in GetSearchAndTestFuncId()
190 AddParam(GetUintId(), &param_vec, &input_func); in GetSearchAndTestFuncId()
/external/angle/third_party/spirv-tools/src/source/opt/
Dinst_buff_addr_check_pass.h52 void AddParam(uint32_t type_id, std::vector<uint32_t>* param_vec,
Dinst_buff_addr_check_pass.cpp154 void InstBuffAddrCheckPass::AddParam(uint32_t type_id, in AddParam() function in spvtools::opt::InstBuffAddrCheckPass
189 AddParam(GetUint64Id(), &param_vec, &input_func); in GetSearchAndTestFuncId()
190 AddParam(GetUintId(), &param_vec, &input_func); in GetSearchAndTestFuncId()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dinst_buff_addr_check_pass.h52 void AddParam(uint32_t type_id, std::vector<uint32_t>* param_vec,
Dinst_buff_addr_check_pass.cpp154 void InstBuffAddrCheckPass::AddParam(uint32_t type_id, in AddParam() function in spvtools::opt::InstBuffAddrCheckPass
189 AddParam(GetUint64Id(), &param_vec, &input_func); in GetSearchAndTestFuncId()
190 AddParam(GetUintId(), &param_vec, &input_func); in GetSearchAndTestFuncId()
/external/v8/src/codegen/
Dsignature.h83 void AddParam(T val) { in AddParam() function

12