Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for withDevices (0.26 sec)

  1. 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)
  2. 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)
  3. platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanPropertyReader.kt

        }
    
        override fun ReadContext.newBean(generated: Boolean): Any = if (generated) {
            val services = ownerService<ServiceRegistry>()
            instantiationScheme.withServices(services).deserializationInstantiator().newInstance(beanType, Any::class.java)
        } else {
            constructorForSerialization.newInstance()
        }
    
        override suspend fun ReadContext.readStateOf(bean: Any) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/DefaultInstantiationScheme.java

        }
    
        @Override
        public <T> InstanceFactory<T> forType(Class<T> type) {
            return instantiator.factoryFor(type);
        }
    
        @Override
        public InstantiationScheme withServices(ServiceLookup services) {
            return new DefaultInstantiationScheme(constructorSelector, classGenerator, services, injectionAnnotations, deserializationConstructorCache);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. 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)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/DefaultVariantTransformRegistry.java

            try {
                Class<T> parameterType = isolationScheme.parameterTypeFor(actionType);
                T parameterObject = parameterType == null ? null : parametersInstantiationScheme.withServices(services).instantiator().newInstance(parameterType);
                registration = Cast.uncheckedNonnullCast(instantiatorFactory.decorateLenient().newInstance(TypedRegistration.class, parameterObject, immutableAttributesFactory));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. tensorflow/cc/gradients/math_grad_test.cc

    // TODO(andydavis) As more gradients are added move common test functions
    // to a testutil library.
    
    class CWiseUnaryGradTest : public ::testing::Test {
     protected:
      CWiseUnaryGradTest() : scope_(Scope::NewRootScope().WithDevice("/cpu:0")) {}
    
      enum UnaryOpType {
        ABS,
        NEG,
        INV,
        SQUARE,
        SQRT,
        RSQRT,
        EXP,
        EXPM1,
        LOG,
        LOG1P,
        SINH,
        COSH,
        TANH,
        ASINH,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 36K bytes
    - Viewed (0)
  10. 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)
Back to top