Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 95 for ABS (0.11 sec)

  1. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h

            op.emitError(
                "extended power of 2 scale is only supported for 16-bit"
                " quantization.");
            return failure();
          }
    
          double bound = PowerOfTwoBound(std::max(std::abs(min), std::abs(max)));
          // Set flags to 1 for signed type.
          quant_type = UniformQuantizedType::getChecked(
              op.getLoc(), quant::QuantizationFlags::Signed,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/tests/mlrt/tf_to_mlrt.mlir

      // CHECK-SAME: AddV2
      %a = "tf.AddV2"(%input0, %const) {__op_key = 1: i32}: (tensor<i32>, tensor<i32>) -> tensor<i32>
      // CHECK: [[b:%.*]] = tf_mlrt.executeop([[a]])
      // CHECK-SAME: Abs
      %b = "tf.Abs"(%a) {__op_key = 2 : i32}: (tensor<i32>) -> tensor<i32>
      // CHECK: tf_mlrt.promise [[promise_b]], [[b]]
      "tf_mlrt.tf_promise"(%promise_b, %b) : (!mlrt.promise, tensor<i32>) -> ()
      // CHECK: return
      return
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        //
        // We don't have a frac(x) primitive in XLA and computing it is tricky, but
        // because abs(sin(pi * x)) = abs(sin(pi * abs(x))), it's good enough for
        // our purposes to use abs(frac(x)) = abs(x) - floor(abs(x)).
        //
        // Furthermore, pi * abs(frac(x)) loses precision when abs(frac(x)) is close
        // to 1.  To remedy this, we can use the fact that sin(pi * x) in the domain
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  4. pkg/kubelet/apis/config/helpers_test.go

    		"Logging.Options.JSON.OutputRoutingOptions.InfoBufferSize.Quantity.d.Dec.scale",
    		"Logging.Options.JSON.OutputRoutingOptions.InfoBufferSize.Quantity.d.Dec.unscaled.abs[*]",
    		"Logging.Options.JSON.OutputRoutingOptions.InfoBufferSize.Quantity.d.Dec.unscaled.neg",
    		"Logging.Options.JSON.OutputRoutingOptions.InfoBufferSize.Quantity.i.scale",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. src/path/filepath/path.go

    	return filepathlite.IsAbs(path)
    }
    
    // Abs returns an absolute representation of path.
    // If the path is not absolute it will be joined with the current
    // working directory to turn it into an absolute path. The absolute
    // path name for a given file is not guaranteed to be unique.
    // Abs calls [Clean] on the result.
    func Abs(path string) (string, error) {
    	return abs(path)
    }
    
    func unixAbs(path string) (string, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

    def LowerTruncateDivOpOnIntTensors : Pat<
      (TF_TruncateDivOp TF_IntTensor:$lhs, $rhs),
      (TF_DivOp $lhs, $rhs)>;
    
    // Note: truncation could also be implemented as sign(x) * floor(abs(x)) or
    //       (-1 & x) || floor(abs(x)), based on performance benchmarks.
    def LowerTruncateDivOpOnFloatTensors : Pat<
      (TF_TruncateDivOp TF_FloatTensor:$lhs, $rhs),
      (TF_SelectV2Op
        (TF_LessOp
          (TF_DivOp:$div $lhs, $rhs),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

    def : Pat<(TF_ApproximateEqualOp:$result $x, $y, $tolerance),
              (CHLO_BroadcastCompareOp
               (MHLO_AbsOp:$abs (MHLO_SubtractOp $x, $y)),
               (CastValueToElementType $result, (MHLO_ConstantOp $tolerance), $abs),
               (NullDenseI64ArrayAttr),
               CHLO_ComparisonDirectionValue<"LT">,
               (CHLO_DEFAULT_COMPARISON_TYPE))>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  8. src/encoding/json/encode.go

    	b := e.AvailableBuffer()
    	b = mayAppendQuote(b, opts.quoted)
    	abs := math.Abs(f)
    	fmt := byte('f')
    	// Note: Must use float32 comparisons for underlying float32 value to get precise cutoffs right.
    	if abs != 0 {
    		if bits == 64 && (abs < 1e-6 || abs >= 1e21) || bits == 32 && (float32(abs) < 1e-6 || float32(abs) >= 1e21) {
    			fmt = 'e'
    		}
    	}
    	b = strconv.AppendFloat(b, f, fmt, -1, int(bits))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  9. src/time/format.go

    	}
    	return s
    }
    
    // GoString implements [fmt.GoStringer] and formats t to be printed in Go source
    // code.
    func (t Time) GoString() string {
    	abs := t.abs()
    	year, month, day, _ := absDate(abs, true)
    	hour, minute, second := absClock(abs)
    
    	buf := make([]byte, 0, len("time.Date(9999, time.September, 31, 23, 59, 59, 999999999, time.Local)"))
    	buf = append(buf, "time.Date("...)
    	buf = appendInt(buf, year, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  10. security/pkg/nodeagent/cache/secretcache_test.go

    		totalTimeout = originalTimeout
    	}()
    
    	u := NewUpdateTracker(t)
    	sc := createCache(t, nil, u.Callback, security.Options{})
    	rootCertPath, _ := filepath.Abs("./testdata/root-cert-bogus.pem")
    	keyPath, _ := filepath.Abs("./testdata/key-bogus.pem")
    	certChainPath, _ := filepath.Abs("./testdata/cert-chain-bogus.pem")
    
    	resource := fmt.Sprintf("file-cert:%s~%s", certChainPath, keyPath)
    
    	gotSecret, err := sc.GenerateSecret(resource)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top