Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 175 for inversion (0.11 sec)

  1. src/cmd/compile/internal/walk/order.go

    	// temporary to pass to the runtime conversion routine.
    	case ir.OCONVIFACE:
    		n := n.(*ir.ConvExpr)
    		n.X = o.expr(n.X, nil)
    		if n.X.Type().IsInterface() {
    			return n
    		}
    		if _, _, needsaddr := dataWordFuncName(n.X.Type()); needsaddr || isStaticCompositeLiteral(n.X) {
    			// Need a temp if we need to pass the address to the conversion function.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc

            });
      }
      return absl::OkStatus();
    }
    
    // The hlo->tf conversion is done in three steps; pre-quantization,
    // quantization, and post-quantization. Quantization is optional, enabled only
    // when `pass_config.enable_stablehlo_quantizer` is `true`. If quantization is
    // not run, it only performs the hlo->tf conversion.
    //
    // All parameters except for `pass_config`, `pass_manager`, `status_handler`,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc.go

    	// against the claims. This is done once here so that we don't have to convert
    	// the claims to unstructured multiple times in the CEL mapper for each mapping.
    	// Only perform this conversion if any of the mapping or validation rules contain
    	// CEL expressions.
    	// TODO(aramase): In the future when we look into making distributed claims work,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  4. src/strconv/ftoa.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Binary to decimal floating point conversion.
    // Algorithm:
    //   1) store mantissa in multiprecision decimal
    //   2) shift decimal by exponent
    //   3) read digits out & format
    
    package strconv
    
    import "math"
    
    // TODO: move elsewhere?
    type floatInfo struct {
    	mantbits uint
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/expr.go

    		// comparison is okay as long as one side is
    		// assignable to the other.  convert so they have
    		// the same type.
    		//
    		// the only conversion that isn't a no-op is concrete == interface.
    		// in that case, check comparability of the concrete type.
    		// The conversion allocates, so only do it if the concrete type is huge.
    		converted := false
    		if r.Type().Kind() != types.TBLANK {
    			aop, _ = assignOp(l.Type(), r.Type())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize_weight.cc

      // ConstantOp, the quantizable_op will be rewired to the existing ConvertOp.
      // This guarantees at most one ConvertOp is created for float32 to float16
      // conversion.
      void QuantizeOpAsFloat16(PatternRewriter& rewriter, ConstantOp op,
                               const std::pair<Operation*, int> quant_op) const {
        const auto [quantizable_op, quantize_operand_num] = quant_op;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. pkg/spiffe/spiffe.go

    		if err != nil {
    			return nil, fmt.Errorf("failed to split the SPIFFE bundle URL: %v", err)
    		}
    
    		config := &tls.Config{
    			ServerName: u.Hostname(),
    			RootCAs:    caCertPool,
    			MinVersion: tls.VersionTLS12,
    		}
    
    		httpClient.Transport = &http.Transport{
    			Proxy:           http.ProxyFromEnvironment,
    			TLSClientConfig: config,
    			DialContext: (&net.Dialer{
    				Timeout: time.Second * 10,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc

        Operation* tf_op = rewriter.create(op_state);
        rewriter.replaceOp(op, tf_op->getResults());
    
        // Special type fixes for TF Resource Tensors that are casted to
        // Int32 tensor during MLIR->TFLite flatbuffer conversion.
        // TODO(b/146131919): correct handling of resource type
        if (auto tensor_array_v3_op = dyn_cast<TF::TensorArrayV3Op>(tf_op)) {
          Value handle = tensor_array_v3_op.getHandle();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/unfuse_batch_norm_pass.cc

                               "type: opStatus = "
                            << static_cast<int>(status);
          return nullptr;
        }
        if (loses_info) {
          op->emitWarning("Conversion of epsilon loses precision");
        }
        epsilon_attr = b.getFloatAttr(fp_type, epsilon_float);
      }
    
      auto scalar_type = RankedTensorType::get(/*shape=*/{}, fp_type);
      auto epsilon_tensor_attr = DenseElementsAttr::get(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  10. pkg/kubelet/network/dns/dns_test.go

    		},
    	}
    
    	for _, tc := range testCases {
    		options := mergeDNSOptions(tc.existingDNSConfigOptions, tc.dnsConfigOptions)
    		// Options order may be changed after conversion.
    		if !sets.New[string](options...).Equal(sets.New[string](tc.expectedOptions...)) {
    			t.Errorf("%s: mergeDNSOptions(%v, %v)=%v, want %v", tc.desc, tc.existingDNSConfigOptions, tc.dnsConfigOptions, options, tc.expectedOptions)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 25.6K bytes
    - Viewed (0)
Back to top