Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 280 for Canonicalize (0.49 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/executor_canonicalize.mlir

    // RUN: tf-opt %s -pass-pipeline='builtin.module(func.func(canonicalize))' | FileCheck %s
    
    
    // Test single graph with no outputs and one island is folded away.
    // CHECK-LABEL: func @graph_with_no_outputs
    // CHECK-SAME: (%[[ARG_0:[a-z0-9]*]]: tensor<i1>)
    func.func @graph_with_no_outputs(%arg0 : tensor<i1>) {
      tf_executor.graph {
        %1:2 = tf_executor.island {
          %3 = "tf.opA"(%arg0) : (tensor<i1>) -> tensor<i1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Nov 04 14:07:37 UTC 2022
    - 13.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteCond_test.go

    // ensure the optimization to 'comparing to zero' expressions of if-statements
    // yield expected results.
    // 32 rewriting rules are covered. At least two scenarios for "Canonicalize
    // the order of arguments to comparisons", which helps with CSE, are covered.
    // The tedious if-else structures are necessary to ensure all concerned rules
    // and machine code sequences are covered.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 01:19:09 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  3. pkg/apis/core/v1/defaults.go

    func SetDefaults_Namespace(obj *v1.Namespace) {
    	// we can't SetDefaults for nameless namespaces (generateName).
    	// This code needs to be kept in sync with the implementation that exists
    	// in Namespace Canonicalize strategy (pkg/registry/core/namespace)
    
    	// note that this can result in many calls to feature enablement in some cases, but
    	// we assume that there's no real cost there.
    	if len(obj.Name) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 22:24:15 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  4. cmd/handler-utils.go

    	if v == nil {
    		bugLogIf(ctx, errInvalidArgument)
    		return errInvalidArgument
    	}
    
    	nv := make(textproto.MIMEHeader, len(v))
    	for k, kv := range v {
    		// Canonicalize all headers, to remove any duplicates.
    		nv[http.CanonicalHeaderKey(k)] = kv
    	}
    
    	// Save all supported headers.
    	for _, supportedHeader := range supportedHeaders {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/text/internal/language/lookup.go

    	}
    	return getLangISO3(s)
    }
    
    // TODO language normalization as well as the AliasMaps could be moved to the
    // higher level package, but it is a bit tricky to separate the generation.
    
    func (id Language) Canonicalize() (Language, AliasType) {
    	return normLang(id)
    }
    
    // normLang returns the mapped langID of id according to mapping m.
    func normLang(id Language) (Language, AliasType) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/dilated_conv.h

          expand_axis = (*mlir::cast<DenseElementsAttr>(const_op.getValue())
                              .getValues<APInt>()
                              .begin())
                            .getSExtValue();
          // Canonicalize axis. Some TF python functions, such as
          // `tf.nn.convolution`, use negative axis.
          if (expand_axis < 0) {
            // Always expand 3D input to 4D input.
            expand_axis += 4;
          }
        } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/func.go

    	NamedValues map[LocalSlot][]*Value
    	// Names is a copy of NamedValues.Keys. We keep a separate list
    	// of keys to make iteration order deterministic.
    	Names []*LocalSlot
    	// Canonicalize root/top-level local slots, and canonicalize their pieces.
    	// Because LocalSlot pieces refer to their parents with a pointer, this ensures that equivalent slots really are equal.
    	CanonicalLocalSlots  map[LocalSlot]*LocalSlot
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. src/net/conf.go

    			return hostLookupFiles, dnsConf
    		default:
    			// Unrecognized.
    			return fallbackOrder, dnsConf
    		}
    
    		// We always return before this point.
    		// The code below is for non-OpenBSD.
    	}
    
    	// Canonicalize the hostname by removing any trailing dot.
    	hostname = stringslite.TrimSuffix(hostname, ".")
    
    	nss := getSystemNSS()
    	srcs := nss.sources["hosts"]
    	// If /etc/nsswitch.conf doesn't exist or doesn't specify any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config.cc

            TypeID::get<TF::PolygammaOp>(),
            TypeID::get<TF::PopulationCountOp>(),
            TypeID::get<TF::PowOp>(),
            TypeID::get<TF::QrOp>(),
            // TODO(hinsu): Canonicalize QuantizeAndDequantize and
            // QuantizeAndDequantizeV2 to QuantizeAndDequantizeV3 by converting
            // attributes to operands.
            TypeID::get<TF::QuantizeAndDequantizeOp>(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  10. src/cmd/gofmt/gofmt.go

    )
    
    // Keep these in sync with go/format/format.go.
    const (
    	tabWidth    = 8
    	printerMode = printer.UseSpaces | printer.TabIndent | printerNormalizeNumbers
    
    	// printerNormalizeNumbers means to canonicalize number literal prefixes
    	// and exponents while printing. See https://golang.org/doc/go1.13#gofmt.
    	//
    	// This value is defined in go/printer specifically for go/format and cmd/gofmt.
    	printerNormalizeNumbers = 1 << 30
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top