Home
last modified time | relevance | path

Searched refs:device_policy (Results 1 – 20 of 20) sorted by relevance

/external/tensorflow/tensorflow/python/framework/
Dconfig.py293 device_policy = context.context().device_policy
294 if device_policy == context.DEVICE_PLACEMENT_SILENT:
296 elif device_policy == context.DEVICE_PLACEMENT_SILENT_FOR_INT32:
298 elif device_policy == context.DEVICE_PLACEMENT_WARN:
300 elif device_policy == context.DEVICE_PLACEMENT_EXPLICIT:
309 def set_device_policy(device_policy): argument
337 if device_policy == 'silent':
338 context.context().device_policy = context.DEVICE_PLACEMENT_SILENT
339 elif device_policy == 'silent_for_int32':
340 context.context().device_policy = context.DEVICE_PLACEMENT_SILENT_FOR_INT32
[all …]
Dconfig_test.py61 context.context().device_policy)
80 context.context().device_policy)
86 context.context().device_policy)
95 context.context().device_policy)
101 context.context().device_policy)
Dops.py6085 def enable_eager_execution(config=None, device_policy=None, argument
6157 device_policy=device_policy,
6184 device_policy=None, argument
6208 if device_policy not in (None, context.DEVICE_PLACEMENT_EXPLICIT,
6231 device_policy=device_policy,
6235 (device_policy is not None and
6236 device_policy is not context._context._device_policy) or
6246 device_policy, context._context._execution_mode, execution_mode))
/external/libbrillo/policy/
Dlibpolicy.cc26 PolicyProvider::PolicyProvider(std::unique_ptr<DevicePolicy> device_policy) in PolicyProvider() argument
27 : device_policy_(std::move(device_policy)), in PolicyProvider()
74 std::unique_ptr<DevicePolicy> device_policy) { in SetDevicePolicyForTesting() argument
75 device_policy_ = std::move(device_policy); in SetDevicePolicyForTesting()
Dlibpolicy.h32 explicit PolicyProvider(std::unique_ptr<DevicePolicy> device_policy);
49 std::unique_ptr<DevicePolicy> device_policy);
Ddevice_policy_impl.h105 const enterprise_management::ChromeDeviceSettingsProto& device_policy) { in set_policy_for_testing() argument
106 device_policy_ = device_policy; in set_policy_for_testing()
/external/libbrillo/policy/tests/
Dlibpolicy_test.cc34 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/tensorflow/tensorflow/python/eager/
Dcontext.py397 device_policy=None, argument
454 if device_policy is None:
455 device_policy = DEVICE_PLACEMENT_SILENT
456 self._device_policy = device_policy
1868 def device_policy(self): member in Context
1875 @device_policy.setter
1876 def device_policy(self, policy): member in Context
2411 def device_policy(policy): function
2414 old_policy = ctx.device_policy
2416 ctx.device_policy = policy
[all …]
Dcore_test.py566 with context.device_policy(context.DEVICE_PLACEMENT_SILENT):
/external/openscreen/cast/sender/channel/
Dcast_auth_util.cc382 CastDeviceCertPolicy device_policy; in VerifyCredentialsImpl() local
385 &device_policy, crl.get(), crl_policy, cast_trust_store); in VerifyCredentialsImpl()
413 return device_policy; in VerifyCredentialsImpl()
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.config.experimental.pbtxt77 argspec: "args=[\'device_policy\'], varargs=None, keywords=None, defaults=None"
Dtensorflow.pbtxt1209 …argspec: "args=[\'config\', \'device_policy\', \'execution_mode\'], varargs=None, keywords=None, d…
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.config.experimental.pbtxt81 argspec: "args=[\'device_policy\'], varargs=None, keywords=None, defaults=None"
/external/libbrillo/
DBUILD.gn410 "policy/device_policy.cc",
660 "policy/device_policy.h",
DAndroid.bp92 "policy/device_policy.cc",
/external/tensorflow/tensorflow/python/distribute/
Dmirrored_run.py378 context.device_policy(self.context_device_policy), \
Dcross_device_ops.py225 with context.device_policy(context.DEVICE_PLACEMENT_SILENT):
243 with context.device_policy(context.DEVICE_PLACEMENT_SILENT):
Dmirrored_strategy.py524 with context.device_policy(context.DEVICE_PLACEMENT_SILENT):
Dtpu_strategy.py1224 with context.device_policy(context.DEVICE_PLACEMENT_SILENT):
/external/perfetto/test/trace_processor/diff_tests/android/
Dandroid_bugreport_dumpstate_test.out88 "DUMPSYS (/system/bin/dumpsys)","device_policy",192