Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 48 for asTyped (0.36 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/AbstractCallInterceptor.java

            MethodHandle decorated = MethodHandles.insertArguments(INTERCEPTOR, 0, this, spreader, flags, caller.lookupClass().getName());
            return decorated.asCollector(Object[].class, original.type().parameterCount()).asType(original.type());
        }
    
        private Object interceptMethodHandle(MethodHandle original, int flags, String consumer, Object[] args) throws Throwable {
            boolean isSpread = (flags & IndyInterface.SPREAD_CALL) != 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 14:02:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/modelreader/impl/AnnotationCallInterceptionRequestReaderImpl.java

        }
    
        @Nonnull
        private static ImplementationInfoImpl extractImplementationInfo(ExecutableElement input) {
            Type implementationOwner = extractType(input.getEnclosingElement().asType());
            String implementationName = input.getSimpleName().toString();
            String implementationDescriptor = extractMethodDescriptor(input);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 09:48:42 UTC 2023
    - 13K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

                low=-1.0, high=1.0, size=(4, 3)
            ).astype('f4')
            self.bias_0 = np.random.uniform(low=-1.0, high=1.0, size=(3,)).astype(
                'f4'
            )
    
            self.filters_1 = np.random.uniform(
                low=-1.0, high=1.0, size=(4, 3)
            ).astype('f4')
            self.bias_1 = np.random.uniform(low=-1.0, high=1.0, size=(3,)).astype(
                'f4'
            )
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeAnnotatedMethodReader.java

            GradleLazyType gradleLazyType = GradleLazyType.from(typeName);
            switch (gradleLazyType) {
                case CONFIGURABLE_FILE_COLLECTION:
                    return FILE_COLLECTION.asType();
                case DIRECTORY_PROPERTY:
                case REGULAR_FILE_PROPERTY:
                    return Type.getType(File.class);
                case LIST_PROPERTY:
                    return Type.getType(List.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

                        low=-(i + 1), high=(i + 1), size=filter_shape[:-1]
                    ).astype('f4')
                    for i in range(self.out_channel_size)
                ],
                axis=-1,
            )
    
            self.bias = np.random.uniform(
                low=0, high=10, size=(self.out_channel_size)
            ).astype('f4')
    
          @def_function.function
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset_test.py

      @test_util.deprecated_graph_mode_only
      def test_replace_tensors_by_numpy_ndarrays_with_tensor_list(self):
        num_samples = 8
        samples = [
            np.random.uniform(low=-1.0, high=1.0, size=(3, 3)).astype('f4')
            for _ in range(num_samples)
        ]
    
        repr_ds: repr_dataset.RepresentativeDataset = [
            {
                'input_tensor': ops.convert_to_tensor(sample),
            }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 04 07:35:19 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/FilteringProvider.java

        }
    
        @Nonnull
        protected Value<? extends T> filterValue(@SuppressWarnings("unused") EvaluationContext.ScopeContext context, Value<? extends T> value) {
            if (value.isMissing()) {
                return value.asType();
            }
            T unpackedValue = value.getWithoutSideEffect();
            if (spec.isSatisfiedBy(unpackedValue)) {
                return value;
            } else {
                return Value.missing();
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/AutoTestedSamplesToolingApiTest.groovy

                    message = message - sourceFile.absolutePath
                    throw new AssertionError(message)
                }
            }
    
            def diagnosticListener = checkDiagnostic.asType("javax.tools.DiagnosticListener" as Class)
    
            def input = fileManager.getJavaFileObjectsFromFiles(Arrays.asList(sourceFile))
            compiler.getTask(null,
                fileManager,
                diagnosticListener,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeClassSourceGenerator.java

                default:
                    throw new UnsupportedOperationException("Generating get call for type: " + upgradedPropertyType.asType() + " is not supported");
            }
        }
    
        private static CodeBlock getSetCall(String propertyGetterName, PropertyUpgradeRequestExtra implementationExtra, GradleLazyType upgradedPropertyType) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:11:23 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/predicates.go

    func isTypeLit(t Type) bool {
    	switch Unalias(t).(type) {
    	case *Named, *TypeParam:
    		return false
    	}
    	return true
    }
    
    // isTyped reports whether t is typed; i.e., not an untyped
    // constant or boolean.
    // Safe to call from types that are not fully set up.
    func isTyped(t Type) bool {
    	// Alias and named types cannot denote untyped types
    	// so there's no need to call Unalias or under, below.
    	b, _ := t.(*Basic)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top