Home
last modified time | relevance | path

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

/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 …]
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()
Dfusion_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()
Ddot_operation_test.cc1167 auto x = AddParam( in XLA_TEST_P()
1171 auto y = AddParam( in XLA_TEST_P()
Dclient_library_test_base.cc594 XlaOp ClientLibraryTestBase::AddParam(const Literal& argument, in AddParam() function in xla::ClientLibraryTestBase
/external/tensorflow/tensorflow/lite/tools/benchmark/
Dbenchmark_test.cc36 params.AddParam("num_runs", BenchmarkParam::Create<int32_t>(2)); in CreateParams()
37 params.AddParam("min_secs", BenchmarkParam::Create<float>(1.0f)); in CreateParams()
38 params.AddParam("run_delay", BenchmarkParam::Create<float>(-1.0f)); in CreateParams()
39 params.AddParam("num_threads", BenchmarkParam::Create<int32_t>(1)); in CreateParams()
40 params.AddParam("benchmark_name", BenchmarkParam::Create<std::string>("")); in CreateParams()
41 params.AddParam("output_prefix", BenchmarkParam::Create<std::string>("")); in CreateParams()
42 params.AddParam("warmup_runs", BenchmarkParam::Create<int32_t>(1)); in CreateParams()
43 params.AddParam("graph", BenchmarkParam::Create<std::string>(*g_model_path)); in CreateParams()
44 params.AddParam("input_layer", BenchmarkParam::Create<std::string>("")); in CreateParams()
45 params.AddParam("input_layer_shape", BenchmarkParam::Create<std::string>("")); in CreateParams()
[all …]
Dbenchmark_model.cc44 params.AddParam("num_runs", BenchmarkParam::Create<int32_t>(50)); in DefaultParams()
45 params.AddParam("min_secs", BenchmarkParam::Create<float>(1.0f)); in DefaultParams()
46 params.AddParam("run_delay", BenchmarkParam::Create<float>(-1.0f)); in DefaultParams()
47 params.AddParam("num_threads", BenchmarkParam::Create<int32_t>(1)); in DefaultParams()
48 params.AddParam("benchmark_name", BenchmarkParam::Create<std::string>("")); in DefaultParams()
49 params.AddParam("output_prefix", BenchmarkParam::Create<std::string>("")); in DefaultParams()
50 params.AddParam("warmup_runs", BenchmarkParam::Create<int32_t>(1)); in DefaultParams()
51 params.AddParam("warmup_min_secs", BenchmarkParam::Create<float>(0.5f)); in DefaultParams()
Dbenchmark_tflite_model.cc193 default_params.AddParam("graph", BenchmarkParam::Create<std::string>("")); in DefaultParams()
194 default_params.AddParam("input_layer", in DefaultParams()
196 default_params.AddParam("input_layer_shape", in DefaultParams()
198 default_params.AddParam("use_nnapi", BenchmarkParam::Create<bool>(false)); in DefaultParams()
199 default_params.AddParam("allow_fp16", BenchmarkParam::Create<bool>(false)); in DefaultParams()
Dbenchmark_params.h73 void AddParam(const std::string& name, in AddParam() function
/external/v8/src/compiler/
Draw-machine-assembler.cc271 builder.AddParam(arg0_type); in CallCFunction1()
283 builder.AddParam(arg0_type); in CallCFunction1WithCallerSavedRegisters()
299 builder.AddParam(arg0_type); in CallCFunction2()
300 builder.AddParam(arg1_type); in CallCFunction2()
314 builder.AddParam(arg0_type); in CallCFunction3()
315 builder.AddParam(arg1_type); in CallCFunction3()
316 builder.AddParam(arg2_type); in CallCFunction3()
329 builder.AddParam(arg0_type); in CallCFunction3WithCallerSavedRegisters()
330 builder.AddParam(arg1_type); in CallCFunction3WithCallerSavedRegisters()
331 builder.AddParam(arg2_type); in CallCFunction3WithCallerSavedRegisters()
[all …]
Dlinkage.cc256 locations.AddParam(LinkageLocation::ForCallerFrameSlot( in GetCEntryStubCallDescriptor()
260 locations.AddParam( in GetCEntryStubCallDescriptor()
264 locations.AddParam( in GetCEntryStubCallDescriptor()
268 locations.AddParam(regloc(kContextRegister, MachineType::AnyTagged())); in GetCEntryStubCallDescriptor()
305 locations.AddParam(LinkageLocation::ForCallerFrameSlot( in GetJSCallDescriptor()
310 locations.AddParam( in GetJSCallDescriptor()
314 locations.AddParam( in GetJSCallDescriptor()
318 locations.AddParam(regloc(kContextRegister, MachineType::AnyTagged())); in GetJSCallDescriptor()
373 locations.AddParam(regloc(reg, type)); in GetStubCallDescriptor()
377 locations.AddParam(LinkageLocation::ForCallerFrameSlot( in GetStubCallDescriptor()
[all …]
Dc-linkage.cc202 locations.AddParam(LinkageLocation::ForRegister(kParamRegisters[i].code(), in GetSimplifiedCDescriptor()
205 locations.AddParam(LinkageLocation::ForCallerFrameSlot( in GetSimplifiedCDescriptor()
Dwasm-compiler.cc3398 builder.AddParam(wasm::ValueTypes::MachineRepresentationFor(param)); in CreateMachineSignature()
5277 locations.AddParam(params.Next(MachineRepresentation::kTaggedPointer)); in GetWasmCallDescriptor()
5284 locations.AddParam(l); in GetWasmCallDescriptor()
5358 locations.AddParam(params.Next(output_type)); in ReplaceTypeInCallDescriptorWith()
5361 locations.AddParam( in ReplaceTypeInCallDescriptorWith()
Dsimd-scalar-lowering.cc684 sig_builder.AddParam(MachineType::Pointer()); in BuildF64Trunc()
Deffect-control-linearizer.cc3395 builder.AddParam(MachineType::Pointer()); in LowerCheckEqualsInternalizedString()
3396 builder.AddParam(MachineType::AnyTagged()); in LowerCheckEqualsInternalizedString()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dmath_test.cc44 Log(AddParam(LiteralUtil::CreateR1<T>({T{0.0}, T{-0.0}}), &b)); in TestLogEdgeCases()
55 Log1p(AddParam(LiteralUtil::CreateR1<T>({T{0.0}, T{-0.0}, T{-1.0}}), &b)); in TestLog1pEdgeCases()
98 IsNegZero(AddParam( in TestIsNegZero()
131 auto x = AddParam(LiteralUtil::CreateR1<T>({-inf}), &b); in TestSqrtPowInequivalence()
143 auto x = AddParam(LiteralUtil::CreateR1<T>({T{-1}, T{1}, T{0}}), &b); in TestErfEdgeCases()
/external/v8/src/
Dsignature.h77 void AddParam(T val) { in AddParam() function
/external/v8/src/asmjs/
Dasm-parser.cc165 sig_builder.AddParam(kWasmF64); in ConvertSignature()
167 sig_builder.AddParam(kWasmF32); in ConvertSignature()
169 sig_builder.AddParam(kWasmI32); in ConvertSignature()