Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for Canonicalize (0.53 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/vendor/golang.org/x/text/language/language.go

    		}
    	}
    	if c&DeprecatedRegion != 0 {
    		if r := t.RegionID.Canonicalize(); r != t.RegionID {
    			changed = true
    			t.RegionID = r
    		}
    	}
    	return t, changed
    }
    
    // Canonicalize returns the canonicalized equivalent of the tag.
    func (c CanonType) Canonicalize(t Tag) (Tag, error) {
    	// First try fast path.
    	if t.isCompact() {
    		if _, changed := canonicalize(c, compact.Tag(t).Tag()); !changed {
    			return t, nil
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/strategy.go

    }
    
    // AllowUnconditionalUpdate is the default update policy for CustomResourceDefinition objects.
    func (strategy) AllowUnconditionalUpdate() bool {
    	return false
    }
    
    // Canonicalize normalizes the object after validation.
    func (strategy) Canonicalize(obj runtime.Object) {
    }
    
    // ValidateUpdate is the default update validation for an end user updating status.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/cmd/vendor/golang.org/x/text/internal/language/language.go

    		r = _UK
    	}
    	if (r.typ() & ccTLD) == 0 {
    		return 0, errNoTLD
    	}
    	return r, nil
    }
    
    // Canonicalize returns the region or a possible replacement if the region is
    // deprecated. It will not return a replacement for deprecated regions that
    // are split into multiple regions.
    func (r Region) Canonicalize() Region {
    	if cr := normRegion(r); cr != 0 {
    		return cr
    	}
    	return r
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 16.8K bytes
    - Viewed (0)
Back to top