Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 59 for Canonicalize (0.36 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc

                 << "found unexpected type " << operand.get().getType()
                 << " of operand #" << operand.getOperandNumber()
                 << ", resource type operands are expected to have been "
                    "canonicalized away for region based control flow ops";
        }
      }
      for (OpResult result : op.getResults()) {
        if (mlir::isa<TF::ResourceType>(getElementTypeOrSelf(result.getType()))) {
          return op.emitOpError()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf.cc

      if (legalize_chlo) {
        chlo::populateChloToHloPatterns(context, &hlo_converter, &patterns);
      }
      // ConstantLike op is convenient to create splat constants, but is
      // canonicalized to plain HLO constant if statically shaped. Add the
      // canonicalization pattern to pattern list to enable multi-hop lowering.
      chlo::ConstantLikeOp::getCanonicalizationPatterns(patterns, context);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. subprojects/core-api/src/test/groovy/org/gradle/StartParameterTest.groovy

            when:
            def parameter = new StartParameter()
            then:
            parameter.gradleUserHomeDir == gradleUserHome
        }
    
        void "canonicalizes current dir"() {
            StartParameter parameter = new StartParameter()
            File dir = new File('current')
    
            when:
            parameter.currentDir = dir
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 06:24:50 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.h

    //   . Replaces resource reads/writes with function inputs/outputs and
    //     eliminates the use of resource variables.
    //   . Legalizes the operations to XLA HLO operations.
    //   . Canonicalizes the XLA HLO operations.
    //
    // device_type: XLA JIT device to use for compilation such as "XLA_CPU_JIT",
    //   "XLA_GPU_JIT" or "XLA_TPU_JIT".
    // use_tuple_args: when this is true, always create a tuple argument for the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. src/mime/multipart/multipart.go

    // wouldn't be safe to consume a single byte from it.
    const peekBufferSize = 4096
    
    // A Part represents a single part in a multipart body.
    type Part struct {
    	// The headers of the body, if any, with the keys canonicalized
    	// in the same fashion that the Go http.Request headers are.
    	// For example, "foo-bar" changes case to "Foo-Bar"
    	Header textproto.MIMEHeader
    
    	mr *Reader
    
    	disposition       string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/types/typeutil/map.go

    )
    
    // Map is a hash-table-based mapping from types (types.Type) to
    // arbitrary any values.  The concrete types that implement
    // the Type interface are pointers.  Since they are not canonicalized,
    // == cannot be used to check for equivalence, and thus we cannot
    // simply use a Go map.
    //
    // Just as with map[K]V, a nil *Map is a valid empty map.
    //
    // Not thread-safe.
    type Map struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.cc

    // constant is useful for shape inference for multiple subgraphs, they can be
    // included in each subgraphs. If duplicate constants are accidentally created
    // in the same subgraph, they can be easily removed with a canonicalizer pass.
    //
    // We set a size limit since constants needed for shape inference are no
    // larger than tensor rank. This avoids duplicating large constants.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21K bytes
    - Viewed (0)
  8. test/codegen/comparisons.go

    		return 1
    	}
    	return 0
    }
    
    // The following CmpToZero_ex* check that cmp|cmn with bmi|bpl are generated for
    // 'comparing to zero' expressions
    
    // var + const
    // 'x-const' might be canonicalized to 'x+(-const)', so we check both
    // CMN and CMP for subtraction expressions to make the pattern robust.
    func CmpToZero_ex1(a int64, e int32) int {
    	// arm64:`CMN`,-`ADD`,`(BMI|BPL)`
    	if a+3 < 0 {
    		return 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc

      }
    };
    
    // This pattern converts qint <-> int CastOp to int -> int ConvertOps.
    // The former are introduced in ConvertTFQuantTypes pass. The resulting int <->
    // int ConvertOps are no-ops and can be removed later in a Canonicalizer pass.
    class ConvertTfCastOp : public OpConversionPattern<TF::CastOp> {
     public:
      using OpConversionPattern::OpConversionPattern;
    
      LogicalResult matchAndRewrite(
          TF::CastOp op, TF::CastOpAdaptor adaptor,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  10. 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)
Back to top