Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 319 for canonicalise (0.27 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

            }
            try {
                return current.getCanonicalFile();
            } catch (IOException e) {
                throw new RuntimeException(String.format("Could not canonicalise '%s'.", current), e);
            }
        }
    
        public TestFile file(Object... path) {
            try {
                return new TestFile(this, path);
            } catch (RuntimeException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. src/crypto/x509/name_constraints_test.go

    			},
    		},
    		intermediates: [][]constraintsSpec{
    			{
    				{},
    			},
    		},
    		leaf: leafSpec{
    			sans: []string{"email:\"\\f\\o\\o\"@example.com"},
    		},
    		noOpenSSL: true, // OpenSSL doesn't canonicalise email addresses before matching
    	},
    
    	// #43: limiting email addresses to a host works.
    	{
    		roots: []constraintsSpec{
    			{
    				ok: []string{"email:example.com"},
    			},
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 22:40:21 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/canonicalize.td

      (TF_LogOp:$src (TF_SoftmaxOp $arg)), (TF_LogSoftmaxOp:$dest $arg), [],
      [(CopyAttrs $src, $dest)]>;
    
    // Canonicalize: Log(1.0 + x) to Log1p(x)
    //
    // We currently do this rewrite only if the constant `1` is a scalar, because
    // it is safely broadcastable to any shape. To be able to canonicalize when
    // constant values is not a scalar, we have to first prove that it is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:42:28 UTC 2023
    - 17K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfr/tests/canonicalize.mlir

    // RUN: tfr-opt %s -canonicalize="test-convergence" -verify-diagnostics -split-input-file | FileCheck %s
    
    // Tests for ops with canonicalization patterns.
    
    // CHECK-LABEL: get_real_shape
    func.func @get_real_shape(%arg0: tensor<1x2xf32>) -> tensor<2xindex> {
      %0 = "tfr.cast"(%arg0) : (tensor<1x2xf32>) -> !tfr.tensor
      %1 = tfr.get_shape %0 -> !shape.shape
      %2 = shape.to_extent_tensor %1 : !shape.shape -> tensor<2xindex>
      func.return %2 : tensor<2xindex>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  5. 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)
  6. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

    // RUN: tf-opt %s -pass-pipeline='builtin.module(func.func(canonicalize{test-convergence}))' | FileCheck %s
    
    // CHECK-LABEL: func @tfAssertTrue
    func.func @tfAssertTrue(%arg0: tensor<1x1x6x2xf32>) {
      %t = arith.constant dense<true> : tensor<i1>
      // CHECK-NOT: tf.Assert
      "tf.Assert"(%t, %arg0) {summarize = 3} : (tensor<i1>, tensor<1x1x6x2xf32>) -> ()
      func.return
    }
    
    // CHECK-LABEL: func @tfAssertFalse
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/passes/canonicalize.cc

    A. Unique TensorFlower <******@****.***> 1673734256 -0800
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 14 22:15:06 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  8. testing/integ-test/src/integTest/groovy/org/gradle/integtests/environment/BuildEnvironmentIntegrationTest.groovy

    def dir = new File('.')
    assert dir.canonicalFile == expectedDir.canonicalFile
    assert dir.directory
    def classesDir = new File("build/classes1")
    assert classesDir.mkdirs()
    assert classesDir.directory
    """
    
            project2.file('build.gradle') << """
    def expectedDir = new File(new URI('${project2.toURI()}'))
    def dir = new File('.')
    assert dir.canonicalFile == expectedDir.canonicalFile
    assert dir.directory
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. platforms/jvm/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/DefaultJavaInstallationRegistry.java

                return false;
            }
            return true;
        }
    
        private InstallationLocation canonicalize(InstallationLocation location) {
            final File file = location.getLocation();
            try {
                final File canonicalFile = file.getCanonicalFile();
                final File javaHome = findJavaHome(canonicalFile);
                return location.withLocation(javaHome);
            } catch (IOException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:46:10 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/common_v1.py

              lift_variables,
              include_variables_in_initializers,
              upgrade_legacy,
              show_debug_info,
          )
    
        if canonicalize:
          mlir = pywrap_mlir.experimental_run_pass_pipeline(
              mlir, 'canonicalize', show_debug_info
          )
        print(mlir)
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 20 13:19:26 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top