Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for Canonicalize (0.17 sec)

  1. tensorflow/compiler/mlir/lite/tests/canonicalize.mlir

    // RUN: tf-opt -canonicalize=test-convergence -tfl-runtime-verify -split-input-file -verify-diagnostics %s | FileCheck %s
    
    // CHECK-LABEL: @squeeze_folder
    func.func @squeeze_folder(%arg0 : tensor<?x?xf32>) -> tensor<?x?xf32> {
      %0 = "tfl.squeeze"(%arg0) : (tensor<?x?xf32>) -> tensor<?x?xf32>
      // CHECK: return %arg0
      func.return %0 : tensor<?x?xf32>
    }
    
    // -----
    
    // CHECK-LABEL: @squeeze_folder
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. src/cmd/go/internal/fsys/fsys.go

    	for _, from := range replaceFrom {
    		to := overlayJSON.Replace[from]
    		// Canonicalize paths and check for a collision.
    		if from == "" {
    			return fmt.Errorf("empty string key in overlay file Replace map")
    		}
    		cfrom := canonicalize(from)
    		if to != "" {
    			// Don't canonicalize "", meaning to delete a file, because then it will turn into ".".
    			to = canonicalize(to)
    		}
    		if otherFrom, seen := reverseCanonicalized[cfrom]; seen {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  3. platforms/jvm/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/DefaultJavaInstallationRegistry.java

                .map(InstallationSupplier::get)
                .flatMap(Set::stream)
                .filter(this::installationExists)
                .map(this::canonicalize)
                .map(this::maybeGetEnclosedInstallation)
                .filter(this::installationHasExecutable)
                .filter(distinctByKey(InstallationLocation::getLocation))
                .collect(Collectors.toSet());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:46:10 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/abi.go

    		refs: make(map[string]obj.ABISet),
    	}
    }
    
    // canonicalize returns the canonical name used for a linker symbol in
    // s's maps. Symbols in this package may be written either as "".X or
    // with the package's import path already in the symbol. This rewrites
    // both to use the full path, which matches compiler-generated linker
    // symbol names.
    func (s *SymABIs) canonicalize(linksym string) string {
    	if strings.HasPrefix(linksym, `"".`) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. platforms/extensibility/unit-test-fixtures/src/main/java/org/gradle/testfixtures/internal/ProjectBuilderImpl.java

            final File projectDir = prepareProjectDir(inputProjectDir);
            File userHomeDir = gradleUserHomeDir == null ? new File(projectDir, "userHome") : FileUtils.canonicalize(gradleUserHomeDir);
            StartParameterInternal startParameter = new StartParameterInternal();
            startParameter.setGradleUserHomeDir(userHomeDir);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:36 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/StartParameter.java

            logBuildOrSettingsFileDeprecation("buildFile");
            if (buildFile == null) {
                this.buildFile = null;
                setCurrentDir(null);
            } else {
                this.buildFile = FileUtils.canonicalize(buildFile);
                setProjectDir(this.buildFile.getParentFile());
            }
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 06:24:50 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  7. src/net/textproto/reader.go

    // canonicalize them.
    func canonicalMIMEHeaderKey(a []byte) (_ string, ok bool) {
    	if len(a) == 0 {
    		return "", false
    	}
    
    	// See if a looks like a header key. If not, return it unchanged.
    	noCanon := false
    	for _, c := range a {
    		if validHeaderFieldByte(c) {
    			continue
    		}
    		// Don't canonicalize.
    		if c == ' ' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/scatter.h

    //  * c is the index vector dimension
    //  * a,b iterate over the updates and indices
    //
    //  The update needs permuting to be in the form (a,b,d,e,f) so that the update
    //  window dims are the trailing dimensions.
    //
    // To canonicalize the updates above, replace the updates with:
    //   transpose(updates, permutation={3,4,0,1,2})
    //
    // Note: NormalizeIndexVector is assumed to have run on the indices already so
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

      // the random function body before being inlined.
      pass_manager.addNestedPass<mlir::func::FuncOp>(
          mlir::TFL::CreateLegalizeJaxRandomPass());
    
      // Canonicalize, CSE etc.
      pass_manager.addPass(mlir::mhlo::createStablehloLegalizeToHloPass());
      pass_manager.addNestedPass<mlir::func::FuncOp>(
          mlir::createCanonicalizerPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/jvm/Jvm.java

        }
    
        /**
         * Constructs JVM details by inspecting the current JVM.
         */
        Jvm(OperatingSystem os) {
            this(os, FileUtils.canonicalize(new File(System.getProperty("java.home"))), System.getProperty("java.version"), JavaVersionParser.parseMajorVersion(System.getProperty("java.version")), false);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:57:34 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top