/external/tensorflow/tensorflow/python/framework/ |
D | config.py | 168 device_policy = context.context().device_policy 169 if device_policy == context.DEVICE_PLACEMENT_SILENT: 171 elif device_policy == context.DEVICE_PLACEMENT_SILENT_FOR_INT32: 173 elif device_policy == context.DEVICE_PLACEMENT_WARN: 175 elif device_policy == context.DEVICE_PLACEMENT_EXPLICIT: 178 raise ValueError('Not a valid device policy: %r' % device_policy) 182 def set_device_policy(device_policy): argument 210 if device_policy == 'silent': 211 context.context().device_policy = context.DEVICE_PLACEMENT_SILENT 212 elif device_policy == 'silent_for_int32': [all …]
|
D | config_test.py | 51 context.context().device_policy) 70 context.context().device_policy) 76 context.context().device_policy) 85 context.context().device_policy) 91 context.context().device_policy)
|
D | ops.py | 5646 device_policy=None, argument 5710 device_policy=device_policy, 5730 device_policy=None, argument 5754 if device_policy not in (None, context.DEVICE_PLACEMENT_EXPLICIT, 5776 device_policy=device_policy, 5780 (device_policy is not None and 5781 device_policy is not context._context._device_policy) or 5790 context._context._device_policy, device_policy,
|
/external/libbrillo/policy/ |
D | libpolicy.cc | 25 PolicyProvider::PolicyProvider(std::unique_ptr<DevicePolicy> device_policy) in PolicyProvider() argument 26 : device_policy_(std::move(device_policy)), in PolicyProvider() 73 std::unique_ptr<DevicePolicy> device_policy) { in SetDevicePolicyForTesting() argument 74 device_policy_ = std::move(device_policy); in SetDevicePolicyForTesting()
|
D | libpolicy.h | 32 explicit PolicyProvider(std::unique_ptr<DevicePolicy> device_policy); 49 std::unique_ptr<DevicePolicy> device_policy);
|
D | device_policy_impl.h | 100 const enterprise_management::ChromeDeviceSettingsProto& device_policy) { in set_policy_for_testing() argument 101 device_policy_ = device_policy; in set_policy_for_testing()
|
/external/autotest/client/site_tests/policy_WiFiPrecedence/ |
D | policy_WiFiPrecedence.py | 90 device_policy = {} 92 device_policy['device_policies'] = { 106 enroll=bool(device_policy), 107 **device_policy
|
/external/tensorflow/tensorflow/python/eager/ |
D | context.py | 224 device_policy=None, argument 278 if device_policy is None: 279 device_policy = DEVICE_PLACEMENT_SILENT 280 self._device_policy = device_policy 804 def device_policy(self): member in Context 811 @device_policy.setter 812 def device_policy(self, policy): member in Context 1039 def device_policy(policy): function 1042 old_policy = ctx.device_policy 1044 ctx.device_policy = policy [all …]
|
D | core_test.py | 268 with context.device_policy(context.DEVICE_PLACEMENT_SILENT):
|
/external/libbrillo/policy/tests/ |
D | libpolicy_unittest.cc | 34 std::unique_ptr<DevicePolicyImpl> device_policy(new DevicePolicyImpl()); in CreateDevicePolicyImpl() local 35 device_policy->set_install_attributes_for_testing( in CreateDevicePolicyImpl() 37 device_policy->set_policy_path_for_testing(policy_path); in CreateDevicePolicyImpl() 38 device_policy->set_key_file_path_for_testing(keyfile_path); in CreateDevicePolicyImpl() 39 device_policy->set_verify_root_ownership_for_testing(verify_files); in CreateDevicePolicyImpl() 41 return device_policy; in CreateDevicePolicyImpl()
|
/external/libbrillo/ |
D | libpolicy.gypi | 10 'policy/device_policy.h',
|
D | Android.bp | 63 "policy/device_policy.cc",
|
D | libbrillo.gypi | 283 'policy/device_policy.cc',
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.config.experimental.pbtxt | 13 argspec: "args=[\'device_policy\'], varargs=None, keywords=None, defaults=None"
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.config.experimental.pbtxt | 13 argspec: "args=[\'device_policy\'], varargs=None, keywords=None, defaults=None"
|
D | tensorflow.pbtxt | 1153 …argspec: "args=[\'config\', \'device_policy\', \'execution_mode\'], varargs=None, keywords=None, d…
|
/external/tensorflow/tensorflow/contrib/optimizer_v2/ |
D | optimizer_v2.py | 968 device_policy = context.device_policy( 970 with ops.name_scope("update_" + scope_name), device_policy: 984 with context.device_policy(context.DEVICE_PLACEMENT_SILENT):
|
/external/tensorflow/tensorflow/python/distribute/ |
D | mirrored_strategy.py | 553 with context.device_policy(context.DEVICE_PLACEMENT_SILENT): 875 context.device_policy(self.context_device_policy), \
|
D | collective_all_reduce_strategy.py | 312 with context.device_policy(context.DEVICE_PLACEMENT_SILENT):
|
D | tpu_strategy.py | 431 with context.device_policy(context.DEVICE_PLACEMENT_SILENT):
|
D | cross_device_ops.py | 213 with context.device_policy(context.DEVICE_PLACEMENT_SILENT):
|