- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for withDevices (0.17 sec)
-
pkg/kubelet/cm/devicemanager/pod_devices_test.go
podID := "pod1" contID := "con1" devices := checkpoint.DevicesPerNUMA{0: []string{"dev1"}, 1: []string{"dev1"}} podDevices.insert(podID, contID, resourceName1, devices, newContainerAllocateResponse( withDevices(map[string]string{"/dev/r1dev1": "/dev/r1dev1", "/dev/r1dev2": "/dev/r1dev2"}), withMounts(map[string]string{"/home/r1lib1": "/usr/r1lib1"}), ), ) resContDevices := podDevices.getContainerDevices(podID, contID)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 10.3K bytes - Viewed (0) -
tensorflow/compiler/jit/build_xla_ops_pass_test.cc
return fdef_lib; } TEST_F(BuildXlaOpsTest, ControlDepsPreserved) { const char* kXlaDeviceName = "/job:worker/replica:0/task:0/device:XLA_CPU:0"; Scope root = Scope::NewRootScope().WithDevice(kXlaDeviceName).ExitOnError(); FunctionDefLibrary fdef_lib = CreateFunctionDefLibWithConstFunction("cluster_0"); TF_ASSERT_OK(root.graph()->AddFunctionLibrary(fdef_lib)); Node* call;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 12.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/service/scopes/ProjectScopeServices.java
DefaultPluginManager.class, get(PluginRegistry.class), new PluginInstantiator( instantiatorFactory.injectScheme().withServices(this).instantiator(), pluginScheme.getInstantiationScheme().withServices(this).instantiator() ), pluginTarget, buildOperationRunner, userCodeApplicationContext, decorator,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 09:21:42 UTC 2024 - 18.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultValueSourceProviderFactory.java
// TODO - dedupe logic copied from DefaultBuildServicesRegistry this.paramsInstantiator = instantiatorFactory.decorateScheme().withServices(services).instantiator(); this.specInstantiator = instantiatorFactory.decorateLenientScheme().withServices(services).instantiator(); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 08:26:25 UTC 2024 - 14.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/services/internal/DefaultBuildServicesRegistry.java
this.isolatableFactory = isolatableFactory; this.leaseRegistry = leaseRegistry; this.paramsInstantiator = instantiatorFactory.decorateScheme().withServices(services).instantiator(); this.specInstantiator = instantiatorFactory.decorateLenientScheme().withServices(services).instantiator(); this.listener = listener; listenerManager.addListener(new ServiceCleanupListener()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 19:15:45 UTC 2024 - 16.7K bytes - Viewed (0) -
tensorflow/compiler/jit/build_xla_ops_pass.cc
if (debugging_opts.print_outputs) { string cpu_device = "/job:localhost/replica:0/task:0/device:CPU:0"; ops::Print print_op(s.WithOpName("print_", oidx) .WithDevice(cpu_device) .WithAssignedDevice(cpu_device), new_output, {new_output}, ops::Print::Attrs{}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 24.3K bytes - Viewed (0) -
tensorflow/cc/framework/scope.h
/// control dependencies on other operations. Scope WithNoControlDependencies() const; /// Return a new scope. All ops created within the returned scope will have /// the device field set to 'device'. Scope WithDevice(const string& device) const; /// Returns a new scope. All ops created within the returned scope will have /// their assigned device set to `assigned_device`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 09:08:33 UTC 2024 - 10.5K bytes - Viewed (0) -
tensorflow/cc/framework/scope.cc
return Scope(new Impl(*this, Impl::Tags::ControlDeps(), std::vector<Operation>(), /* clear_control_deps */ true)); } Scope Scope::WithDevice(const string& device) const { return Scope(new Impl(*this, Impl::Tags::Device(), device)); } Scope Scope::WithAssignedDevice(const string& assigned_device) const {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 20.9K bytes - Viewed (0)