Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 406 for asType (0.23 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/stablehlo_quantizer_odml_oss.ipynb

            "  rng = np.random.default_rng(seed=1235)\n",
            "  for _ in range(2):\n",
            "    yield {\n",
            "        'lhs_operand': rng.uniform(low=-1.0, high=1.0, size=input_shape).astype(\n",
            "            np.float32\n",
            "        )\n",
            "    }\n",
            "converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_dir)\n",
            "converter.target_spec.supported_ops = [\n",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 12 03:40:43 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/FlatMapProvider.java

            try (EvaluationContext.ScopeContext context = openScope()) {
                Value<? extends T> value = provider.calculateValue(consumer);
                if (value.isMissing()) {
                    return value.asType();
                }
                return doMapValue(context, value).calculateValue(consumer);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top