Home
last modified time | relevance | path

Searched defs:strategy (Results 1 – 25 of 1556) sorted by relevance

12345678910>>...63

/aosp_15_r20/external/tensorflow/tensorflow/python/keras/distribute/
H A Ddataset_creator_model_fit_test.py52 def testModelFit(self, strategy): argument
56 def testModelFitwithStepsPerEpochNegativeOne(self, strategy): argument
80 def testModelFitWithNumpyData(self, strategy): argument
92 def testModelFitWithTensorData(self, strategy): argument
104 def testModelFitWithLookupLayer(self, strategy): argument
108 def testModelFitWithNormalizationLayer(self, strategy): argument
112 def testModelFitWithStepsPerExecution(self, strategy): argument
116 def testModelFitWithNoStepsPerEpoch(self, strategy): argument
124 def testModelEvaluate(self, strategy): argument
128 def testModelEvaluateWithNumpyData(self, strategy): argument
[all …]
H A Ddataset_creator_model_fit_ps_only_test.py36 def testModelFitWithRunEagerly(self, strategy): argument
42 def testModelFitWithDatasetInstance(self, strategy): argument
51 def testModelPredict(self, strategy): argument
57 def testClusterCoordinatorSingleInstance(self, strategy): argument
63 def testModelFitErrorOnBatchLevelCallbacks(self, strategy): argument
75 def testModelFitCallbackSupportsTFLogs(self, strategy): argument
91 def testModelFitVerbosity(self, strategy): argument
102 def testModelFitTensorBoardEpochLevel(self, strategy): argument
110 def testModelEvaluateWithDatasetInstance(self, strategy): argument
119 def testModelEvaluateErrorOnBatchLevelCallbacks(self, strategy): argument
H A Ddistributed_file_utils.py53 def _get_base_dirpath(strategy): argument
58 def _is_temp_dir(dirpath, strategy): argument
62 def _get_temp_dir(dirpath, strategy): argument
71 def write_dirpath(dirpath, strategy): argument
99 def remove_temp_dirpath(dirpath, strategy): argument
122 def write_filepath(filepath, strategy): argument
139 def remove_temp_dir_with_filepath(filepath, strategy): argument
/aosp_15_r20/external/tensorflow/tensorflow/python/distribute/
H A Dstrategy_gather_test.py71 strategy): argument
87 def testGatherPerReplicaDense1D0Axis(self, strategy, pure_eager): argument
93 def testGatherPerReplicaDense2D0Axis(self, strategy, pure_eager): argument
99 def testGatherPerReplicaDense2D1Axis(self, strategy, pure_eager): argument
105 def testGatherPerReplicaDense3D0Axis(self, strategy, pure_eager): argument
111 def testGatherPerReplicaDense3D1Axis(self, strategy, pure_eager): argument
117 def testGatherPerReplicaDense3D2Axis(self, strategy, pure_eager): argument
123 def testGatherDiffShapeAtAxis0(self, strategy, pure_eager): argument
145 def testGatherDiffShapeAtAxis1(self, strategy, pure_eager): argument
167 def testGatherRaiseDiffShapeAtNonAxis(self, strategy, pure_eager): argument
[all …]
H A Dstrategy_common_test.py49 def testCaptureReplicaId(self, strategy): argument
65 def testMergeCallInitScope(self, strategy): argument
224 def testBasic(self, strategy): argument
245 def testAxis(self, strategy): argument
276 def testDenseUpdate(self, strategy, tf_function, update_fn): argument
319 def testDense(self, strategy, tf_function): argument
338 def testSparse(self, strategy, tf_function): argument
364 def testNestedInput(self, strategy, tf_function): argument
406 def testSyncOnReadVariableInput(self, strategy, tf_function): argument
465 def testDense(self, strategy, tf_function): argument
[all …]
H A Dstrategy_test_lib.py358 self, strategy, input_fn, expected_values, ignore_order=False): argument
427 def _test_global_step_update(self, strategy): argument
449 def _test_numpy_dataset(self, strategy, session=None, run_in_function=False): argument
471 def run_and_concatenate(strategy, i): argument
487 def _test_trainable_variable(self, strategy): argument
508 def _test_run(self, strategy): argument
520 def _test_all_reduce_sum(self, strategy): argument
524 def _test_all_reduce_sum_gradients(self, strategy): argument
528 def _test_all_reduce_sum_gradient_tape(self, strategy): argument
532 def _test_all_reduce_mean(self, strategy): argument
[all …]
H A Dstrategy_combinations_test.py42 def testTwoReplicaStrategy(self, strategy): argument
58 def testFourReplicaStrategy(self, strategy): argument
97 def testOneDevice(self, strategy): argument
108 def testMirrored(self, strategy): argument
118 def testMultiWorkerMirrored(self, strategy): argument
128 def testCentralStorage(self, strategy): argument
134 def testTPU(self, strategy): argument
151 def testOneDevice(self, strategy): argument
162 def testMirrored(self, strategy): argument
172 def testMultiWorkerMirrored(self, strategy): argument
[all …]
H A Ddistribute_coordinator_test.py207 def _in_graph_worker_fn(self, strategy): argument
235 def _run_coordinator_in_thread(self, worker_fn, strategy, **kwargs): argument
243 def _run_multiple_coordinator_in_threads(self, worker_fn, strategy, argument
268 def _between_graph_worker_fn(self, strategy): argument
315 def _between_graph_with_monitored_session(self, strategy): argument
348 def _dump_worker_context(self, strategy): argument
372 def _dump_strategy_property(self, strategy): argument
828 def _worker_fn(self, strategy): argument
H A Dinput_lib.py79 def get_iterator_spec_from_dataset(strategy, dataset): argument
494 def _calculate_replicas_with_values(strategy, input_workers, optional_list): argument
556 def __init__(self, input_workers, iterators, strategy, cardinality, argument
677 strategy, argument
864 strategy=None, argument
1001 strategy, argument
1119 input_workers, strategy, argument
1319 strategy, argument
2056 def _create_distributed_tensor_spec(strategy, tensor_spec): argument
2101 def _enable_get_next_as_optional(strategy, dataset, cardinality): argument
[all …]
/aosp_15_r20/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/instr/
H A DProbeArrayStrategyFactoryTest.java52 final IProbeArrayStrategy strategy = test(Opcodes.V1_1, 0, false, true, in testClass1() local
61 final IProbeArrayStrategy strategy = test(Opcodes.V1_2, 0, false, true, in testClass2() local
70 final IProbeArrayStrategy strategy = test(Opcodes.V1_3, 0, false, true, in testClass3() local
79 final IProbeArrayStrategy strategy = test(Opcodes.V1_4, 0, false, true, in testClass4() local
88 final IProbeArrayStrategy strategy = test(Opcodes.V1_5, 0, false, true, in testClass5() local
97 final IProbeArrayStrategy strategy = test(Opcodes.V1_6, 0, false, true, in testClass6() local
106 final IProbeArrayStrategy strategy = test(Opcodes.V1_7, 0, false, true, in testClass7() local
115 final IProbeArrayStrategy strategy = test(Opcodes.V1_8, 0, false, true, in testClass8() local
127 final IProbeArrayStrategy strategy = test(Opcodes.V1_7, in testInterface7() local
136 final IProbeArrayStrategy strategy = test(Opcodes.V1_7, in testEmptyInterface7() local
[all …]
/aosp_15_r20/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
H A DBrightnessMappingStrategyTest.java201 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(mContext, ddc, in testSimpleStrategyIgnoresNewConfiguration() local
217 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(mContext, ddc, in testSimpleStrategyIgnoresNullConfiguration() local
270 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(mContext, ddc, in testPhysicalStrategyUsesNewConfigurations() local
297 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(mContext, ddc, in testPhysicalStrategyRecalculateSplines() local
343 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(mContext, ddc, in testDefaultStrategyIsPhysical() local
358 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(mContext, ddc, in testNonStrictlyIncreasingLuxLevelsFails() local
381 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(mContext, ddc, in testDifferentNumberOfControlPointValuesFails() local
459 private static void assertStrategyAdaptsToUserDataPoints(BrightnessMappingStrategy strategy) { in assertStrategyAdaptsToUserDataPoints()
581 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(mContext, ddc, in testGammaCorrectionLowChangeAtCenter() local
611 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(mContext, ddc, in testGammaCorrectionHighChangeAtCenter() local
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/python/distribute/integration_test/
H A Dsaved_model_test.py69 def test_read_sync_on_read_variable(self, strategy): argument
128 def test_read_sync_on_read_variable(self, strategy): argument
159 def test_read_mirrored_variable(self, strategy): argument
184 def test_update_sync_on_read_variable(self, strategy): argument
211 def test_update_mirrored_variable(self, strategy): argument
237 def test_training_only_device(self, strategy): argument
265 def test_model_with_loaded_layer(self, strategy): argument
337 def test_read_sync_on_read_variable(self, strategy): argument
390 def test_update_sync_on_read_variable(self, strategy): argument
442 def test_read_mirrored_variable(self, strategy): argument
[all …]
/aosp_15_r20/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
H A DPerfettoTracingPerRunStrategyTest.java86 PerfettoTracingStrategy strategy = in initStrategy() local
104 PerfettoTracingStrategy strategy = initStrategy(b); in testPerfettoTraceStartOnRunStart() local
116 PerfettoTracingStrategy strategy = initStrategy(b); in testPerfettoTraceStartOnRunStartMultiple() local
130 PerfettoTracingStrategy strategy = initStrategy(b); in testPerfettoTraceEndOnRunEnd() local
144 PerfettoTracingStrategy strategy = initStrategy(b); in testPerfettoTraceEndOnRunEndMultiple() local
162 PerfettoTracingStrategy strategy = initStrategy(b); in testPerfettoTraceDoesNotStartOnTestStart() local
183 PerfettoTracingStrategy strategy = initStrategy(b); in testPerfettoTraceDoesNotStopOnTestEnd() local
200 PerfettoTracingStrategy strategy = initStrategy(b); in testPerfettoTraceDoesNotStopOnFailure() local
H A DPerfettoTracingPerClassStrategyTest.java89 PerfettoTracingStrategy strategy = in initStrategy() local
107 PerfettoTracingStrategy strategy = initStrategy(b); in testPerfettoTraceStartOnFirstTestStart() local
121 PerfettoTracingStrategy strategy = initStrategy(b); in testPerfettoTraceStartOncePerClass() local
138 PerfettoTracingStrategy strategy = initStrategy(b); in testPerfettoTraceStartInClassChange() local
155 PerfettoTracingStrategy strategy = initStrategy(b); in testPerfettoTraceEndsOnRunEnds() local
171 PerfettoTracingStrategy strategy = initStrategy(b); in testDoNotReportMetricOnTest() local
186 PerfettoTracingStrategy strategy = initStrategy(b); in testReportMetricOnRunEndOnly() local
202 PerfettoTracingStrategy strategy = initStrategy(b); in testReportMultipleMetricsOnRunEnd() local
H A DPerfettoTracingPerTestStrategyTest.java92 PerfettoTracingStrategy strategy = in initStrategy() local
111 PerfettoTracingStrategy strategy = initStrategy(b); in testPerfettoTraceStartOnTestStart() local
125 PerfettoTracingStrategy strategy = initStrategy(b); in testPerfettoTraceStartOnTestStartMultiple() local
142 PerfettoTracingStrategy strategy = initStrategy(b); in testPerfettoTraceEndOnRunEnd() local
159 PerfettoTracingStrategy strategy = initStrategy(b); in testPerfettoTraceEndOnRunEndMultiple() local
180 PerfettoTracingStrategy strategy = initStrategy(b); in testPerfettoTraceDoesNotStartOnRunStart() local
196 PerfettoTracingStrategy strategy = initStrategy(b); in testPerfettoTraceDoesNotStopOnFailure() local
/aosp_15_r20/external/squashfs-tools/squashfs-tools/
H A Dgzip_wrapper.h55 short strategy; member
58 struct strategy { struct
60 int strategy; argument
65 int strategy; member
73 struct gzip_strategy strategy[0]; member
/aosp_15_r20/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioDeviceInventory.java747 mPreferredDevices.forEach((strategy, device) -> { in dump() argument
750 mNonDefaultDevices.forEach((strategy, device) -> { in dump() argument
835 mPreferredDevices.forEach((strategy, devices) -> { in reapplyExternalDevicesRoles() argument
838 mNonDefaultDevices.forEach((strategy, devices) -> { in reapplyExternalDevicesRoles() argument
1251 private void saveSetPreferredDevices(int strategy, in saveSetPreferredDevices()
1270 private void saveRemovePreferredDevices(int strategy) { in saveRemovePreferredDevices()
1276 private void saveSetDeviceAsNonDefault(int strategy, in saveSetDeviceAsNonDefault()
1301 private void saveRemoveDeviceAsNonDefault(int strategy, in saveRemoveDeviceAsNonDefault()
1330 /*package*/ int setPreferredDevicesForStrategyAndSave(int strategy, in setPreferredDevicesForStrategyAndSave()
1343 /*package*/ int setPreferredDevicesForStrategy(int strategy, in setPreferredDevicesForStrategy()
[all …]
/aosp_15_r20/frameworks/av/services/audiopolicy/engine/common/src/
H A DEngineBase.cpp218 auto addSupportedAttributesToGroup = [](auto &group, auto &volumeGroup, auto &strategy) { in processParsingResult()
253 sp<ProductStrategy> strategy = new ProductStrategy(strategyConfig.name, strategyConfig.id); in processParsingResult() local
295 [&](const auto &strategy) { in getOrderedProductStrategies()
557 status_t EngineBase::setDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role, in setDevicesRoleForStrategy()
560 std::function<bool(product_strategy_t)> p = [this](product_strategy_t strategy) { in setDevicesRoleForStrategy()
567 status_t EngineBase::removeDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role, in removeDevicesRoleForStrategy()
570 std::function<bool(product_strategy_t)> p = [this](product_strategy_t strategy) { in removeDevicesRoleForStrategy()
577 status_t EngineBase::clearDevicesRoleForStrategy(product_strategy_t strategy, in clearDevicesRoleForStrategy()
580 std::function<bool(product_strategy_t)> p = [this](product_strategy_t strategy) { in clearDevicesRoleForStrategy()
587 status_t EngineBase::getDevicesForRoleAndStrategy(product_strategy_t strategy, device_role_t role, in getDevicesForRoleAndStrategy()
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/python/tpu/tests/
H A Dtpu_embedding_base_test.py220 def _create_sparse_dataset(self, strategy, include_weights=False, weight=0.5): argument
231 strategy, argument
265 strategy, argument
293 def _create_ragged_dataset(self, strategy, include_weights=False, weight=0.5): argument
305 def _create_dense_dataset(self, strategy, include_weights=False, weight=0.5): argument
327 strategy, argument
354 def _check_results(self, strategy, shard_out_val, training, input_data, argument
578 def _get_replica_numpy(self, structured, strategy, replica_id): argument
625 def _unpack(self, strategy, per_replica_output): argument
/aosp_15_r20/packages/services/Car/service/src/com/android/car/audio/
DCoreAudioHelper.java79 AudioProductStrategy strategy = getAudioProductStrategies().get(index); in getStrategyForAudioAttributes() local
90 AudioProductStrategy strategy = getAudioProductStrategies().get(index); in getStrategyForContextName() local
119 AudioProductStrategy strategy = getAudioProductStrategies().get(index); in getProductStrategyForAudioAttributes() local
138 AudioProductStrategy strategy = getAudioProductStrategies().get(index); in getStrategy() local
155 AudioProductStrategy strategy = getAudioProductStrategies().get(index); in isDefaultStrategy() local
262 AudioProductStrategy strategy = getAudioProductStrategies().get(index); in getVolumeGroupIdForAudioAttributes() local
/aosp_15_r20/external/intel-media-driver/media_softlet/agnostic/common/codec/hal/enc/hevc/features/roi/
H A Dencode_hevc_vdenc_roi.cpp260 RoiStrategy *strategy = m_strategyFactory.CreateStrategy( in ExecuteRoi() local
284 RoiStrategy* strategy = m_strategyFactory.CreateStrategyForceDeltaQP( in ExecuteRoiExt() local
308 RoiStrategy *strategy = m_strategyFactory.CreateStrategy( in ExecuteDirtyRoi() local
390 RoiStrategy *strategy = GetStrategyForParamsSetting(); in SetVdencPipeBufAddrParams() local
405 RoiStrategy *strategy = GetStrategyForParamsSetting(); in SetDmemHuCBrcInitReset() local
418 RoiStrategy *strategy = GetStrategyForParamsSetting(); in MHW_SETPAR_DECL_SRC() local
/aosp_15_r20/frameworks/av/services/audiopolicy/enginedefault/src/
H A DEngine.cpp63 for (const auto &strategy : legacyStrategy) { in loadWithFallback() local
162 void Engine::filterOutputDevicesForStrategy(legacy_strategy strategy, in filterOutputDevicesForStrategy()
256 product_strategy_t Engine::remapStrategyFromContext(product_strategy_t strategy, in remapStrategyFromContext()
297 DeviceVector Engine::getDevicesForStrategyInt(legacy_strategy strategy, in getDevicesForStrategyInt()
784 void Engine::setStrategyDevices(const sp<ProductStrategy>& strategy, const DeviceVector &devices) { in setStrategyDevices()
800 product_strategy_t strategy = getProductStrategyFromLegacy(legacyStrategy); in getPreferredDeviceTypeForLegacyStrategy() local
850 product_strategy_t strategy = getProductStrategyForAttributes(attributes); in getOutputDevicesForAttributes() local
/aosp_15_r20/external/mesa3d/bin/ci/test/
H A Dtest_structured_logger.py16 def strategy(request): function
21 def file_extension(strategy): argument
35 def test_guess_strategy_from_file(tmp_path, strategy, file_extension): argument
42 def test_get_strategy(strategy, file_extension): argument
55 def test_non_existent_file(tmp_path, strategy, file_extension): argument
/aosp_15_r20/external/tensorflow/tensorflow/lite/delegates/gpu/common/
H A Dmemory_management.cc78 MemoryStrategy strategy, ObjectsAssignment<size_t>* assignment, in AssignObjectsToTensors()
106 MemoryStrategy strategy, ObjectsAssignment<BHWC>* assignment, in AssignObjectsToTensors()
123 MemoryStrategy strategy, ObjectsAssignment<uint2>* assignment, in AssignObjectsToTensors()
142 MemoryStrategy strategy, ObjectsAssignment<uint3>* assignment, in AssignObjectsToTensors()
160 const MemoryStrategy& strategy, OffsetsAssignment* assignment, in AssignOffsetsToTensors()
/aosp_15_r20/frameworks/av/services/audiopolicy/engineconfigurable/src/
H A DEngine.cpp250 status_t Engine::setDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role, in setDevicesRoleForStrategy()
278 status_t Engine::removeDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role, in removeDevicesRoleForStrategy()
304 status_t Engine::clearDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role) in clearDevicesRoleForStrategy()
330 status_t Engine::disableDevicesForStrategy(product_strategy_t strategy, in disableDevicesForStrategy()
443 product_strategy_t strategy = getProductStrategyForAttributes(attributes); in getOutputDevicesForAttributes() local
514 void Engine::setDeviceAddressForProductStrategy(product_strategy_t strategy, in setDeviceAddressForProductStrategy()
525 bool Engine::setDeviceTypesForProductStrategy(product_strategy_t strategy, uint64_t devices) in setDeviceTypesForProductStrategy()

12345678910>>...63