Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/lite/tools/
Dtool_params_test.cc27 params.AddParam("some-int1", ToolParam::Create<int>(13)); in TEST()
28 params.AddParam("some-int2", ToolParam::Create<int>(17)); in TEST()
31 others.AddParam("some-int1", ToolParam::Create<int>(19)); in TEST()
32 others.AddParam("some-bool", ToolParam::Create<bool>(true)); in TEST()
46 params.AddParam("some-int1", ToolParam::Create<int>(13)); in TEST()
47 params.AddParam("some-int2", ToolParam::Create<int>(17)); in TEST()
50 others.AddParam("some-int1", ToolParam::Create<int>(19)); in TEST()
51 others.AddParam("some-bool", ToolParam::Create<bool>(true)); in TEST()
61 params.AddParam("some-int1", ToolParam::Create<int>(13)); in TEST()
62 params.AddParam("some-int2", ToolParam::Create<int>(17)); in TEST()
[all …]
Dtool_params.cc68 AddParam(one.first, one.second->Clone()); in Merge()
Dtool_params.h100 void AddParam(const std::string& name, std::unique_ptr<ToolParam> value) { 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.cc1207 auto x = AddParam( in XLA_TEST_P()
1211 auto y = AddParam( in XLA_TEST_P()
1296 auto x = AddParam( in XLA_TEST_P()
1300 auto y = AddParam( in XLA_TEST_P()
1693 AddParam(LiteralUtil::CreateR3FromArray3D<float>(input_arr), &builder); in XLA_TEST_F()
1710 AddParam(LiteralUtil::CreateR3FromArray3D<float>(input_arr), &builder); in XLA_TEST_F()
1731 AddParam(LiteralUtil::CreateR4FromArray4D<float>(input_arr), &builder); in XLA_TEST_F()
1748 AddParam(LiteralUtil::CreateR3FromArray3D<float>(input_arr), &builder); in XLA_TEST_F()
1772 AddParam(LiteralUtil::CreateR4FromArray4D<float>(input_arr), &builder); in XLA_TEST_F()
Dreverse_test.cc90 auto a = AddParam(input_literal, &builder); in TEST_P()
Dclient_library_test_base.h296 XlaOp AddParam(const Literal& argument, XlaBuilder* builder);
299 XlaOp AddParam(const Array<T>& argument, XlaBuilder* builder) { in AddParam() function
300 return AddParam(LiteralUtil::CreateFromArray(argument), builder); in AddParam()
/external/tensorflow/tensorflow/lite/tools/benchmark/
Dbenchmark_performance_options.cc128 params.AddParam("perf_options_list", in DefaultParams()
130 params.AddParam("option_benchmark_run_delay", in DefaultParams()
132 params.AddParam("random_shuffle_benchmark_runs", in DefaultParams()
262 params.AddParam("num_threads", BenchmarkParam::Create<int32_t>(count)); in CreatePerformanceOptions()
266 xnnpack_params.AddParam("use_xnnpack", in CreatePerformanceOptions()
268 xnnpack_params.AddParam("num_threads", in CreatePerformanceOptions()
279 params.AddParam("use_gpu", BenchmarkParam::Create<bool>(true)); in CreatePerformanceOptions()
280 params.AddParam("gpu_precision_loss_allowed", in CreatePerformanceOptions()
286 params.AddParam("use_gpu", BenchmarkParam::Create<bool>(true)); in CreatePerformanceOptions()
299 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("run_frequency", BenchmarkParam::Create<float>(-1.0f)); in DefaultParams()
37 params.AddParam("num_threads", BenchmarkParam::Create<int32_t>(1)); in DefaultParams()
38 params.AddParam("use_caching", BenchmarkParam::Create<bool>(false)); in DefaultParams()
39 params.AddParam("benchmark_name", BenchmarkParam::Create<std::string>("")); in DefaultParams()
40 params.AddParam("output_prefix", BenchmarkParam::Create<std::string>("")); in DefaultParams()
41 params.AddParam("warmup_runs", BenchmarkParam::Create<int32_t>(1)); in DefaultParams()
[all …]
Dbenchmark_tflite_model.cc238 default_params.AddParam("graph", BenchmarkParam::Create<std::string>("")); in DefaultParams()
239 default_params.AddParam("input_layer", in DefaultParams()
241 default_params.AddParam("input_layer_shape", in DefaultParams()
243 default_params.AddParam("input_layer_value_range", in DefaultParams()
245 default_params.AddParam("input_layer_value_files", in DefaultParams()
247 default_params.AddParam("allow_fp16", BenchmarkParam::Create<bool>(false)); in DefaultParams()
248 default_params.AddParam("require_full_delegation", in DefaultParams()
250 default_params.AddParam( in DefaultParams()
253 default_params.AddParam("max_profiling_buffer_entries", in DefaultParams()
255 default_params.AddParam("profiling_output_csv_file", in DefaultParams()
/external/tensorflow/tensorflow/lite/tools/delegates/
Dnnapi_delegate_provider.cc28 default_params_.AddParam("use_nnapi", ToolParam::Create<bool>(false)); in NnapiDelegateProvider()
29 default_params_.AddParam("nnapi_execution_preference", in NnapiDelegateProvider()
31 default_params_.AddParam("nnapi_execution_priority", in NnapiDelegateProvider()
33 default_params_.AddParam("nnapi_accelerator_name", in NnapiDelegateProvider()
35 default_params_.AddParam("disable_nnapi_cpu", in NnapiDelegateProvider()
37 default_params_.AddParam("nnapi_allow_fp16", in NnapiDelegateProvider()
Dgpu_delegate_provider.cc36 default_params_.AddParam("use_gpu", ToolParam::Create<bool>(false)); in GpuDelegateProvider()
38 default_params_.AddParam("gpu_precision_loss_allowed", in GpuDelegateProvider()
40 default_params_.AddParam("gpu_experimental_enable_quant", in GpuDelegateProvider()
44 default_params_.AddParam("gpu_backend", ToolParam::Create<std::string>("")); in GpuDelegateProvider()
47 default_params_.AddParam("gpu_wait_type", in GpuDelegateProvider()
Ddefault_execution_provider.cc28 default_params_.AddParam("num_threads", ToolParam::Create<int32_t>(1)); in DefaultExecutionProvider()
29 default_params_.AddParam("max_delegated_partitions", in DefaultExecutionProvider()
31 default_params_.AddParam("min_nodes_per_partition", in DefaultExecutionProvider()
Dhexagon_delegate_provider.cc36 default_params_.AddParam("use_hexagon", ToolParam::Create<bool>(false)); in HexagonDelegateProvider()
37 default_params_.AddParam("hexagon_lib_path", in HexagonDelegateProvider()
39 default_params_.AddParam("hexagon_profiling", in HexagonDelegateProvider()
Dcoreml_delegate_provider.cc35 default_params_.AddParam("use_coreml", ToolParam::Create<bool>(false)); in CoreMlDelegateProvider()
36 default_params_.AddParam("coreml_version", ToolParam::Create<int>(0)); in CoreMlDelegateProvider()
Dexternal_delegate_provider.cc42 default_params_.AddParam("external_delegate_path", in ExternalDelegateProvider()
44 default_params_.AddParam("external_delegate_options", in ExternalDelegateProvider()
Dxnnpack_delegate_provider.cc26 default_params_.AddParam("use_xnnpack", ToolParam::Create<bool>(false)); in XnnpackDelegateProvider()
/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/tensorflow/tensorflow/lite/delegates/utils/dummy_delegate/
Ddummy_delegate_provider.cc26 default_params_.AddParam("use_dummy_delegate", in DummyDelegateProvider()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dinst_buff_addr_check_pass.h48 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/vulkan-deps/spirv-tools/src/source/opt/
Dinst_buff_addr_check_pass.h48 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/swiftshader/third_party/SPIRV-Tools/source/opt/
Dinst_buff_addr_check_pass.h48 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()

12