Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 93 for Canonicalize (0.37 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

        .writeDecimalLong((address[3] and 0xff).toLong())
        .readUtf8()
    }
    
    /**
     * If this is an IP address, this returns the IP address in canonical form.
     *
     * Otherwise, this performs IDN ToASCII encoding and canonicalize the result to lowercase. For
     * example this converts `☃.net` to `xn--n3h.net`, and `WwW.GoOgLe.cOm` to `www.google.com`.
     * `null` will be returned if the host cannot be ToASCII encoded or if the result contains
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.td

         // var <- var - mom
         (TF_AssignSubVariableOp $var_resource, $mom_new)
       ]
       >;
    
    // Same as DecomposeResourceApplyFtrlV2, with l2_shrinkage set to zero.
    // TODO(kramm): Move this pattern to canonicalize.td?
    def DecomposeResourceApplyFtrl : Pat<
      (TF_ResourceApplyFtrlOp $var, $accum, $linear, $grad, $lr, $l1, $l2,
         $lr_power, $use_locking, $multiply_linear_by_lr),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/tests/end2end.mlir

    // RUN: tfr-opt %s -tfr-decompose -tfr-raise-to-tf -canonicalize -verify-diagnostics -split-input-file | FileCheck %s
    
    //=================> User models, from GraphDef <====================
    
    // CHECK-LABEL: my_identity
    func.func @my_identity(%arg0: tensor<2x3xf32>) -> tensor<2x3xf32> {
      %0 = "tf.MyIdentity"(%arg0) : (tensor<2x3xf32>) -> tensor<2x3xf32>
      func.return %0 : tensor<2x3xf32>
    
    // CHECK-NEXT: return %arg0 : tensor<2x3xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  4. pkg/registry/core/pod/strategy.go

    	}
    	warnings = append(warnings, podutil.GetWarningsForPod(ctx, newPod, nil)...)
    	return warnings
    }
    
    // Canonicalize normalizes the object after validation.
    func (podStrategy) Canonicalize(obj runtime.Object) {
    }
    
    // AllowCreateOnUpdate is false for pods.
    func (podStrategy) AllowCreateOnUpdate() bool {
    	return false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top