Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 225 for NEG (0.02 sec)

  1. src/archive/tar/testdata/neg-size.tar

    Joe Tsai <******@****.***> 1446603151 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 01 20:16:26 UTC 2015
    - 512 bytes
    - Viewed (0)
  2. src/math/big/int.go

    	neg := x.neg
    	if x.neg == y.neg {
    		// x + y == x + y
    		// (-x) + (-y) == -(x + y)
    		z.abs = z.abs.add(x.abs, y.abs)
    	} else {
    		// x + (-y) == x - y == -(y - x)
    		// (-x) + y == y - x == -(x - y)
    		if x.abs.cmp(y.abs) >= 0 {
    			z.abs = z.abs.sub(x.abs, y.abs)
    		} else {
    			neg = !neg
    			z.abs = z.abs.sub(y.abs, x.abs)
    		}
    	}
    	z.neg = len(z.abs) > 0 && neg // 0 has no sign
    	return z
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/control_edges.mlir

      %tmp2, %ctl2 = tfl.control_node(%ctl1) controls "tfl.neg"(%tmp1): (tensor<1xf32>) -> tensor<1xf32>
      %tmp3, %ctl3 = tfl.control_node(%ctl2) controls "tfl.neg"(%tmp2): (tensor<1xf32>) -> tensor<1xf32>
      func.return %tmp3: tensor<1xf32>
    }
    // CHECK-NEXT: %[[t0:.*]], %[[c0:.*]] = tfl.control_node controls "tfl.neg"(%arg0)
    // CHECK-NEXT: %[[t1:.*]], %[[c1:.*]] = tfl.control_node(%[[c0]]) controls "tfl.neg"(%[[t0]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 14 21:40:53 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  4. src/math/big/float.go

    		// Below we set z.neg = x.neg, and when z aliases y this will
    		// change the y operand's sign. This is fine, because if an
    		// operand aliases the receiver it'll be overwritten, but we still
    		// want the original x.neg and y.neg values when we evaluate
    		// x.neg != y.neg, so we need to save y.neg before setting z.neg.
    		yneg := y.neg
    
    		z.neg = x.neg
    		if x.neg == yneg {
    			// x + y == x + y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tf_trait_folds.mlir

      // CHECK: [[NEG:%.+]] = "tf.Neg"([[ARG0]])
      %0 = "tf.Neg"(%arg0) : (tensor<i32>) -> tensor<i32>
      // CHECK: return [[NEG]]
      func.return %0: tensor<i32>
    }
    
    // CHECK-LABEL: func @testDoubleNeg
    // CHECK-SAME:  ([[ARG0:%.+]]: tensor<i32>)
    func.func @testDoubleNeg(%arg0: tensor<i32>) -> tensor<i32> {
      %0 = "tf.Neg"(%arg0) : (tensor<i32>) -> tensor<i32>
      %1 = "tf.Neg"(%0) : (tensor<i32>) -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 05:47:26 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/output_arrays.mlir

      // CHECK: %[[EXP:.*]] = "tfl.exp"
      %4 = "tfl.exp"(%3) : (tensor<4xf32>) -> tensor<4xf32> loc("exp")
      // tfl.neg should not be pruned
      // CHECK: %[[NEG:.*]] = "tfl.neg"
      %5 = "tfl.neg"(%4) : (tensor<4xf32>) -> tensor<4xf32> loc("neg")
      // CHECK: return %[[MUL]], %[[EXP]], %[[DIV]]
      func.return %5 : tensor<4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 07:35:24 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  7. src/math/big/rat.go

    	}
    	return z
    }
    
    // Abs sets z to |x| (the absolute value of x) and returns z.
    func (z *Rat) Abs(x *Rat) *Rat {
    	z.Set(x)
    	z.a.neg = false
    	return z
    }
    
    // Neg sets z to -x and returns z.
    func (z *Rat) Neg(x *Rat) *Rat {
    	z.Set(x)
    	z.a.neg = len(z.a.abs) > 0 && !z.a.neg // 0 has no sign
    	return z
    }
    
    // Inv sets z to 1/x and returns z.
    // If x == 0, Inv panics.
    func (z *Rat) Inv(x *Rat) *Rat {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/lookup1.go

    }
    
    func _() {
    	var x big.Float
    	_ = x.neg // ERROR "x.neg undefined (type big.Float has no field or method neg, but does have method Neg)"
    	_ = x.nEg // ERROR "x.nEg undefined (type big.Float has no field or method nEg)"
    	_ = x.Neg
    	_ = x.NEg // ERROR "x.NEg undefined (type big.Float has no field or method NEg, but does have method Neg)"
    
    	_ = x.form // ERROR "x.form undefined (cannot refer to unexported field form)"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 16:41:56 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. src/strconv/ftoa.go

    		}
    		digs = decimalSlice{d: d.d[:], nd: d.nd, dp: d.dp}
    	}
    	return formatDigits(dst, shortest, neg, digs, prec, fmt)
    }
    
    func formatDigits(dst []byte, shortest bool, neg bool, digs decimalSlice, prec int, fmt byte) []byte {
    	switch fmt {
    	case 'e', 'E':
    		return fmtE(dst, neg, digs, prec, fmt)
    	case 'f':
    		return fmtF(dst, neg, digs, prec)
    	case 'g', 'G':
    		// trailing fractional zeros in 'e' form will be trimmed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-function-control-ret-diff-island.pbtxt

    # consumed control return value has its control output added to the GraphOps
    # FetchOp.
    
    # Match the island containing the "tf.Neg", capture the output
    # CHECK:          %[[ISLAND_0:[a-z_0-9]*]], %[[ISLAND_0_control:[a-z_0-9]*]] = tf_executor.island wraps "tf.Neg"
    
    # Check that the tf.Neg control is passed to the fetch
    # CHECK:          tf_executor.fetch {{.*}} %[[ISLAND_0_control]] : tensor<*xf32>, !tf_executor.control
    
    node {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 10 19:53:21 UTC 2020
    - 1.9K bytes
    - Viewed (0)
Back to top