/external/tensorflow/tensorflow/lite/tools/benchmark/ |
D | benchmark_test.cc | 42 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 …]
|
D | benchmark_performance_options.cc | 126 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 …]
|
D | benchmark_model.cc | 32 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()
|
D | hexagon_delegate_provider.cc | 63 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()
|
D | gpu_delegate_provider.cc | 70 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()
|
D | benchmark_tflite_model.cc | 258 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()
|
D | nnapi_delegate_provider.cc | 58 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()
|
D | benchmark_params.h | 88 void AddParam(const std::string& name, in AddParam() function
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | pad_test.cc | 96 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 …]
|
D | dot_operation_test.cc | 1198 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()
|
D | reverse_test.cc | 89 auto a = AddParam(input_literal, &builder); in TEST_P()
|
D | client_library_test_base.h | 288 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()
|
D | cpu_gpu_fusion_test.cc | 817 XlaOp p0 = AddParam(l1, &b); in XLA_TEST_F() 820 auto pN = AddParam((i % 2 == 0 ? l1 : l2), &b); in XLA_TEST_F()
|
D | client_library_test_base.cc | 594 XlaOp ClientLibraryTestBase::AddParam(const Literal& argument, in AddParam() function in xla::ClientLibraryTestBase
|
/external/v8/src/compiler/ |
D | linkage.cc | 293 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 …]
|
D | c-linkage.cc | 164 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/ |
D | custom_call_test.cc | 164 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/ |
D | math_test.cc | 47 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/ |
D | inst_buff_addr_check_pass.h | 52 void AddParam(uint32_t type_id, std::vector<uint32_t>* param_vec,
|
D | inst_buff_addr_check_pass.cpp | 154 void InstBuffAddrCheckPass::AddParam(uint32_t type_id, in AddParam() function in spvtools::opt::InstBuffAddrCheckPass 189 AddParam(GetUint64Id(), ¶m_vec, &input_func); in GetSearchAndTestFuncId() 190 AddParam(GetUintId(), ¶m_vec, &input_func); in GetSearchAndTestFuncId()
|
/external/angle/third_party/spirv-tools/src/source/opt/ |
D | inst_buff_addr_check_pass.h | 52 void AddParam(uint32_t type_id, std::vector<uint32_t>* param_vec,
|
D | inst_buff_addr_check_pass.cpp | 154 void InstBuffAddrCheckPass::AddParam(uint32_t type_id, in AddParam() function in spvtools::opt::InstBuffAddrCheckPass 189 AddParam(GetUint64Id(), ¶m_vec, &input_func); in GetSearchAndTestFuncId() 190 AddParam(GetUintId(), ¶m_vec, &input_func); in GetSearchAndTestFuncId()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | inst_buff_addr_check_pass.h | 52 void AddParam(uint32_t type_id, std::vector<uint32_t>* param_vec,
|
D | inst_buff_addr_check_pass.cpp | 154 void InstBuffAddrCheckPass::AddParam(uint32_t type_id, in AddParam() function in spvtools::opt::InstBuffAddrCheckPass 189 AddParam(GetUint64Id(), ¶m_vec, &input_func); in GetSearchAndTestFuncId() 190 AddParam(GetUintId(), ¶m_vec, &input_func); in GetSearchAndTestFuncId()
|
/external/v8/src/codegen/ |
D | signature.h | 83 void AddParam(T val) { in AddParam() function
|