Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for withDevices (0.21 sec)

  1. platforms/core-configuration/flow-services/src/main/kotlin/org/gradle/internal/flow/services/FlowParametersInstantiator.kt

                }
            )
            DefaultTypeValidationContext.throwOnProblemsOf(type, problems.build())
        }
    
        private
        val instantiator by lazy {
            instantiatorFactory.decorateScheme().withServices(services).instantiator()
        }
    
        private
        val problemsService = services.get(Problems::class.java)
    
        private
        val inspection by lazy {
            inspectionSchemeFactory.inspectionScheme(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:01:34 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/services/internal/RegisteredBuildServiceProvider.java

            return new ServiceLifecycleException("Failed to create service '" + getName() + "'.", e);
        }
    
        private T instantiate(ServiceLookup instantiationServices) {
            return instantiationScheme.withServices(instantiationServices).instantiator().newInstance(getImplementationType());
        }
    
        private ServiceLookup instantiationServicesFor(@Nullable P isolatedParameters) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 09:24:00 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

      }
      std::sort(edges.begin(), edges.end());
      return edges;
    }
    
    TEST(EncapsulateSubgraphsTest, InputDeduplication) {
      Scope root = Scope::NewRootScope().ExitOnError().WithDevice(
          "/job:localhost/replica:0/task:0/cpu:0");
      auto x = ops::Placeholder(root.WithOpName("x"), DT_FLOAT);
      auto add1 = ops::Add(root.WithOpName("add1"), x, x);
      add1.node()->AddAttr("_cluster", "cluster1");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
Back to top