Home
last modified time | relevance | path

Searched refs:run_params (Results 1 – 25 of 34) sorted by relevance

12

/external/webrtc/video/
Dpc_full_stack_tests.cc128 RunParams run_params(TimeDelta::Seconds(kTestDurationSec)); in TEST() local
129 run_params.video_codecs = {VideoCodecConfig( in TEST()
132 run_params.use_flex_fec = false; in TEST()
133 run_params.use_ulp_fec = false; in TEST()
134 fixture->Run(std::move(run_params)); in TEST()
155 RunParams run_params(TimeDelta::Seconds(kTestDurationSec)); in TEST() local
156 run_params.video_codecs = {VideoCodecConfig( in TEST()
159 run_params.use_flex_fec = false; in TEST()
160 run_params.use_ulp_fec = false; in TEST()
161 fixture->Run(std::move(run_params)); in TEST()
[all …]
/external/tensorflow/tensorflow/python/compiler/tensorrt/test/
Dquantization_test.py65 def ShouldRunTest(self, run_params): argument
68 trt_test.IsQuantizationMode(run_params.precision_mode) and
69 not run_params.convert_online and not run_params.dynamic_engine
72 def ExpectedEnginesToBuild(self, run_params): argument
90 def ShouldRunTest(self, run_params): argument
93 trt_test.IsQuantizationMode(run_params.precision_mode) and
94 not run_params.convert_online), "test offline conversion and INT8"
96 def ExpectedEnginesToBuild(self, run_params): argument
100 def ExpectedAbsoluteTolerance(self, run_params): argument
102 return 1.e-05 if run_params.precision_mode == "FP32" else 1.e-01
[all …]
Dtf_trt_integration_test_base.py274 def GetConversionParams(self, run_params): argument
281 precision_mode=run_params.precision_mode,
284 use_calibration=run_params.use_calibration)
287 def GetMaxBatchSize(self, run_params): argument
289 if run_params.dynamic_engine:
300 def ShouldRunTest(self, run_params): argument
303 return (run_params.use_calibration or not IsQuantizationMode(
304 run_params.precision_mode)), "test either calibration or non-INT8"
306 def ExpectedEnginesToBuild(self, run_params): argument
310 def ExpectedMaxBatchSizes(self, run_params): argument
[all …]
Dtrt_mode_test.py42 def ShouldRunTest(self, run_params): argument
45 return (run_params.dynamic_engine, "test dynamic engine only")
71 def GetMaxBatchSize(self, run_params): argument
72 if run_params.dynamic_engine:
79 def ExpectedEnginesToBuild(self, run_params): argument
108 def ExpectedEnginesToBuild(self, run_params): argument
121 def ShouldRunTest(self, run_params): argument
123 return run_params.is_v2 and trt_test.IsTensorRTVersionGreaterEqual(6) and (
124 not run_params.use_calibration), "test v2, >=TRT6 and non-calibration"
154 def ExpectedEnginesToBuild(self, run_params): argument
[all …]
Dreshape_transpose_test.py66 def ExpectedEnginesToBuild(self, run_params): argument
73 def ShouldRunTest(self, run_params): argument
75 return (not trt_test.IsQuantizationMode(run_params.precision_mode) and
76 not run_params.dynamic_engine), "test static engine and non-INT8"
93 def ExpectedEnginesToBuild(self, run_params): argument
102 def ShouldRunTest(self, run_params): argument
104 return (not trt_test.IsQuantizationMode(run_params.precision_mode) and
105 not run_params.dynamic_engine), "test static engine and non-INT8"
122 def ExpectedEnginesToBuild(self, run_params): argument
Ddynamic_input_shapes_test.py89 def ExpectedEnginesToBuild(self, run_params): argument
92 def ShouldRunTest(self, run_params): argument
93 return (run_params.dynamic_engine and not trt_test.IsQuantizationMode(
94 run_params.precision_mode)), "test dynamic engine and non-INT8"
96 def ExpectedAbsoluteTolerance(self, run_params): argument
98 return 1.e-03 if run_params.precision_mode == "FP32" else 1.e-01
100 def ExpectedRelativeTolerance(self, run_params): argument
102 return 1.e-03 if run_params.precision_mode == "FP32" else 1.e-01
Dcombined_nms_test.py83 def ExpectedEnginesToBuild(self, run_params): argument
93 def ShouldRunTest(self, run_params): argument
94 should_run, reason = super().ShouldRunTest(run_params)
96 not trt_test.IsQuantizationMode(run_params.precision_mode)
113 def GetMaxBatchSize(self, run_params): argument
115 if run_params.dynamic_engine:
123 return super().GetMaxBatchSize(run_params) - 1
125 def ShouldRunTest(self, run_params): argument
126 should_run, reason = super().ShouldRunTest(run_params)
130 not run_params.dynamic_engine, reason + ' and static engines'
Dconv2d_test.py101 def ExpectedEnginesToBuild(self, run_params): argument
105 def ExpectedAbsoluteTolerance(self, run_params): argument
107 if trt_test.IsQuantizationWithCalibration(run_params):
109 return super(Conv2DNCHWTest, self).ExpectedAbsoluteTolerance(run_params)
111 def ExpectedRelativeTolerance(self, run_params): argument
113 if trt_test.IsQuantizationWithCalibration(run_params):
115 return super(Conv2DNCHWTest, self).ExpectedRelativeTolerance(run_params)
136 def ExpectedEnginesToBuild(self, run_params): argument
167 def ExpectedEnginesToBuild(self, run_params): argument
197 def ExpectedEnginesToBuild(self, run_params): argument
Dint32_test.py55 def GetMaxBatchSize(self, run_params): argument
57 if run_params.dynamic_engine:
61 def ExpectedEnginesToBuild(self, run_params): argument
78 def ShouldRunTest(self, run_params): argument
83 run_params), 'test calibration and INT8'
85 def ExpectedEnginesToBuild(self, run_params): argument
Dannotate_max_batch_sizes_test.py56 def ShouldRunTest(self, run_params): argument
60 return (not run_params.dynamic_engine, 'test static engine only.')
62 def GetMaxBatchSize(self, run_params): argument
64 if run_params.dynamic_engine:
68 def ExpectedEnginesToBuild(self, run_params): argument
84 def ExpectedMaxBatchSizes(self, run_params): argument
Dconst_broadcast_test.py51 def ExpectedEnginesToBuild(self, run_params): argument
55 def ExpectedAbsoluteTolerance(self, run_params): argument
57 return 1.e-04 if run_params.precision_mode == 'FP32' else 1.e-02
59 def ExpectedRelativeTolerance(self, run_params): argument
61 return 1.e-04 if run_params.precision_mode == 'FP32' else 1.e-02
Dbase_test.py64 def ExpectedEnginesToBuild(self, run_params): argument
111 def ExpectedEnginesToBuild(self, run_params): argument
151 def ExpectedEnginesToBuild(self, run_params): argument
158 def ShouldRunTest(self, run_params): argument
163 (run_params.precision_mode != "FP16") and
164 not (trt_test.IsQuantizationMode(run_params.precision_mode) and
165 not run_params.use_calibration)), "test FP32 and non-calibration"
196 def ExpectedEnginesToBuild(self, run_params): argument
220 def ExpectedEnginesToBuild(self, run_params): argument
245 def ExpectedEnginesToBuild(self, run_params): argument
[all …]
Dmemory_alignment_test.py58 def ExpectedEnginesToBuild(self, run_params): argument
62 def ExpectedAbsoluteTolerance(self, run_params): argument
64 return 1.e-06 if run_params.precision_mode == "FP32" else 1.e-02
66 def ExpectedRelativeTolerance(self, run_params): argument
Dlru_cache_test.py60 def ExpectedEnginesToBuild(self, run_params): argument
64 def ShouldRunTest(self, run_params): argument
65 return (run_params.dynamic_engine and not trt_test.IsQuantizationMode(
66 run_params.precision_mode)), "test dynamic engine and non-INT8"
Dbatch_matmul_test.py70 def ExpectedEnginesToBuild(self, run_params): argument
89 def ExpectedEnginesToBuild(self, run_params): argument
107 def ExpectedEnginesToBuild(self, run_params): argument
Dcast_test.py48 def ExpectedEnginesToBuild(self, run_params): argument
50 if run_params.precision_mode == "FP16":
Dbiasadd_matmul_test.py115 def GetMaxBatchSize(self, run_params): argument
117 if run_params.dynamic_engine:
122 def ExpectedEnginesToBuild(self, run_params): argument
Dtopk_test.py45 def ExpectedEnginesToBuild(self, run_params): argument
70 def ExpectedEnginesToBuild(self, run_params): argument
Didentity_output_test.py58 def ExpectedEnginesToBuild(self, run_params): argument
/external/webrtc/test/pc/e2e/
Dpeer_connection_e2e_smoke_test.cc50 const RunParams& run_params, in RunTest() argument
111 fixture->Run(run_params); in RunTest()
113 EXPECT_GE(fixture->GetRealTestDuration(), run_params.run_duration); in RunTest()
120 int64_t expected_min_fps = run_params.run_duration.seconds() * 15; in RunTest()
141 RunParams run_params(TimeDelta::Seconds(2)); in TEST_F() local
142 run_params.video_codecs = { in TEST_F()
144 run_params.use_flex_fec = true; in TEST_F()
145 run_params.use_ulp_fec = true; in TEST_F()
146 run_params.video_encoder_bitrate_multiplier = 1.1; in TEST_F()
151 "smoke", run_params, in TEST_F()
[all …]
Dpeer_connection_quality_test.cc163 void PeerConnectionE2EQualityTest::Run(RunParams run_params) { in Run() argument
164 SetDefaultValuesForMissingParams(&run_params, &peer_configurations_); in Run()
165 ValidateParams(run_params, peer_configurations_); in Run()
181 SetupRequiredFieldTrials(run_params); in Run()
235 alice_remote_audio_config, run_params.video_encoder_bitrate_multiplier, in Run()
236 run_params.echo_emulation_config); in Run()
245 bob_remote_audio_config, run_params.video_encoder_bitrate_multiplier, in Run()
246 run_params.echo_emulation_config); in Run()
318 run_params)); in Run()
320 CreateSignalingInterceptor(run_params); in Run()
[all …]
Dpeer_configurer.cc76 RunParams* run_params, in SetDefaultValuesForMissingParams() argument
95 if (run_params->video_codecs.empty()) { in SetDefaultValuesForMissingParams()
96 run_params->video_codecs.push_back( in SetDefaultValuesForMissingParams()
102 const RunParams& run_params, in ValidateParams() argument
104 RTC_CHECK_GT(run_params.video_encoder_bitrate_multiplier, 0.0); in ValidateParams()
105 RTC_CHECK_GE(run_params.video_codecs.size(), 1); in ValidateParams()
154 RTC_CHECK_EQ(run_params.video_codecs.size(), 1) in ValidateParams()
161 if (run_params.video_codecs[0].name == cricket::kVp8CodecName && in ValidateParams()
Dpeer_connection_quality_test.h75 void Run(RunParams run_params) override;
86 void SetupRequiredFieldTrials(const RunParams& run_params);
91 void SetupCallOnSignalingThread(const RunParams& run_params);
93 void SetPeerCodecPreferences(TestPeer* peer, const RunParams& run_params);
95 const RunParams& run_params);
Dpeer_configurer.h219 PeerConnectionE2EQualityTestFixture::RunParams* run_params,
224 const PeerConnectionE2EQualityTestFixture::RunParams& run_params,
/external/tensorflow/tensorflow/lite/tools/benchmark/
Dbenchmark_performance_options.cc341 for (const auto& run_params : all_run_params_) { in Run() local
344 if (!run_params.Empty()) { in Run()
347 single_option_run_params_->Set(run_params); in Run()

12