Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for getVendor (0.11 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/toolchain/DaemonJavaToolchainQueryServiceTest.groovy

            InstallationLocation currentJavaHome = null,
            Function<String, String> getVersion = { it },
            Function<String, String> getVendor = { "" }
        ) {
            def detector = createJvmMetadataDetector(getVersion, getVendor)
            def currentJavaHomePath = currentJavaHome?.location ?: Jvm.current().javaHome
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/jvm/toolchain/internal/JavaToolchainQueryServiceTest.groovy

            Collection<String> installations,
            InstallationLocation currentJvm = null,
            Function<String, String> getVersion = { it },
            Function<String, String> getVendor = { "" }
        ) {
            def detector = newJvmMetadataDetector(getVersion, getVendor)
            def registry = createInstallationRegistry(installations, detector)
            def currentJvmPath = currentJvm?.location ?: Jvm.current().javaHome
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:46:10 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. platforms/jvm/toolchains-jvm-shared/src/test/groovy/org/gradle/jvm/toolchain/internal/install/DefaultJdkCacheDirectoryTest.groovy

            lockManager
        }
    
        JvmMetadataDetector mockDetector() {
            JvmInstallationMetadata metadata = Mock(JvmInstallationMetadata)
            metadata.isValidInstallation() >> true
            metadata.getVendor() >> JvmVendor.KnownJvmVendor.IBM.asJvmVendor()
            metadata.getLanguageVersion() >> JavaVersion.VERSION_11
            metadata.getArchitecture() >> "arch"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 06:41:24 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/JvmInstallationMetadataMatcher.java

            this.jvmImplementation = jvmImplementation;
        }
    
        public JvmInstallationMetadataMatcher(JavaToolchainSpec spec) {
            this(spec.getLanguageVersion().get(), spec.getVendor().get(), spec.getImplementation().get());
        }
    
        @Override
        public boolean test(JvmInstallationMetadata metadata) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:47 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. platforms/jvm/toolchains-jvm-shared/src/test/groovy/org/gradle/jvm/toolchain/internal/JvmInstallationMetadataMatcherTest.groovy

            when:
            def spec = TestUtil.objectFactory().newInstance(DefaultToolchainSpec)
            spec.getLanguageVersion().set(JavaLanguageVersion.of(javaVersion.getMajorVersion()))
            spec.getVendor().set(vendor)
            spec.getImplementation().set(implementation)
    
            then:
            new JvmInstallationMetadataMatcher(spec).test(metadata)
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/install/DefaultJdkCacheDirectory.java

        }
    
        public static String getInstallFolderName(JvmInstallationMetadata metadata) {
            String vendor = metadata.getJvmVendor();
            if (vendor == null || vendor.isEmpty()) {
                vendor = metadata.getVendor().getRawVendor();
            }
            String version = metadata.getLanguageVersion().getMajorVersion();
            String architecture = metadata.getArchitecture();
            String os = OperatingSystem.current().getFamilyName();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 23:47:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

        llvm::SmallDenseMap<Value, SizeInfo>* buffer_to_size) {
      OpBuilder builder(list);
      Value buffer = builder.create<TF::IdentityOp>(
          list.getLoc(), ArrayRef<Type>{list.getTensor().getType()},
          ArrayRef<Value>{list.getTensor()});
      auto type = mlir::cast<TensorType>(buffer.getType());
      if (!type.hasStaticShape()) {
        return list.emitOpError("TensorListFromTensorOp input has unknown shape.");
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

      };
      TensorType expected_ty;
      if (failed(GetReshapeOutputType(op.getTensor(), op.getShape(), error_handler,
                                      expected_ty)))
        return failure();
    
      auto output_ty = op.getType().dyn_cast<RankedTensorType>();
      if (!output_ty) return success();
      auto tensor_ty = op.getTensor().getType().cast<TensorType>();
      if (output_ty.hasStaticShape() && tensor_ty.hasStaticShape()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_experimental.cc

    }
    
    TF_Tensor* TF_CheckpointReaderGetTensor(TF_CheckpointReader* reader,
                                            const char* name, TF_Status* status) {
      std::unique_ptr<tensorflow::Tensor> tensor;
      reader->GetTensor(name, &tensor, status);
      if (!status->status.ok()) return nullptr;
      return tensorflow::TF_TensorFromTensor(*tensor, &status->status);
    }
    
    void TF_CheckpointReaderGetVariableShape(TF_CheckpointReader* reader,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

        for (auto& use : tensorlist.getUses()) {
          if (auto push = llvm::dyn_cast<TensorListPushBackOp>(use.getOwner())) {
            auto element_type =
                mlir::dyn_cast<RankedTensorType>(push.getTensor().getType());
            if (!verify_and_update_potential_element_type(element_type))
              return false;
            add_to_worklist(push.getOutputHandle());
            continue;
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
Back to top