/external/webrtc/video/ |
D | pc_full_stack_tests.cc | 128 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/ |
D | quantization_test.py | 65 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 …]
|
D | tf_trt_integration_test_base.py | 274 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 …]
|
D | trt_mode_test.py | 42 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 …]
|
D | reshape_transpose_test.py | 66 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
|
D | dynamic_input_shapes_test.py | 89 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
|
D | combined_nms_test.py | 83 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'
|
D | conv2d_test.py | 101 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
|
D | int32_test.py | 55 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
|
D | annotate_max_batch_sizes_test.py | 56 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
|
D | const_broadcast_test.py | 51 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
|
D | base_test.py | 64 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 …]
|
D | memory_alignment_test.py | 58 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
|
D | lru_cache_test.py | 60 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"
|
D | batch_matmul_test.py | 70 def ExpectedEnginesToBuild(self, run_params): argument 89 def ExpectedEnginesToBuild(self, run_params): argument 107 def ExpectedEnginesToBuild(self, run_params): argument
|
D | cast_test.py | 48 def ExpectedEnginesToBuild(self, run_params): argument 50 if run_params.precision_mode == "FP16":
|
D | biasadd_matmul_test.py | 115 def GetMaxBatchSize(self, run_params): argument 117 if run_params.dynamic_engine: 122 def ExpectedEnginesToBuild(self, run_params): argument
|
D | topk_test.py | 45 def ExpectedEnginesToBuild(self, run_params): argument 70 def ExpectedEnginesToBuild(self, run_params): argument
|
D | identity_output_test.py | 58 def ExpectedEnginesToBuild(self, run_params): argument
|
/external/webrtc/test/pc/e2e/ |
D | peer_connection_e2e_smoke_test.cc | 50 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 …]
|
D | peer_connection_quality_test.cc | 163 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 …]
|
D | peer_configurer.cc | 76 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()
|
D | peer_connection_quality_test.h | 75 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);
|
D | peer_configurer.h | 219 PeerConnectionE2EQualityTestFixture::RunParams* run_params, 224 const PeerConnectionE2EQualityTestFixture::RunParams& run_params,
|
/external/tensorflow/tensorflow/lite/tools/benchmark/ |
D | benchmark_performance_options.cc | 341 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()
|