Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for NEG (0.11 sec)

  1. 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)
  2. pkg/kubelet/apis/config/helpers_test.go

    		"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",
    		"Logging.Options.JSON.OutputRoutingOptions.InfoBufferSize.Quantity.i.value",
    		"Logging.Options.JSON.OutputRoutingOptions.InfoBufferSize.Quantity.s",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (SUBFCconst [c] (NEG x)) => (ADDconst [c] x)
    (SUBFCconst [c] (SUBFCconst [d] x)) && is32Bit(c-d) => (ADDconst [c-d] x)
    (SUBFCconst [0] x) => (NEG x)
    (ADDconst [c] (SUBFCconst [d] x)) && is32Bit(c+d) => (SUBFCconst [c+d] x)
    (NEG (ADDconst [c] x)) && is32Bit(-c) => (SUBFCconst [-c] x)
    (NEG (SUBFCconst [c] x)) && is32Bit(-c) => (ADDconst [-c] x)
    (NEG (SUB x y)) => (SUB y x)
    (NEG (NEG x)) => x
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_patterns.td

    def IsNchwLayoutOp: Constraint<CPred<
      "$0.get(\"is_nchw_op\") && $0.get(\"is_nchw_op\").dyn_cast<BoolAttr>() "
          "== mlir::BoolAttr::get($_builder.getContext(), true)">>;
    
    def IsNhwcLayoutOp: Constraint<Neg<IsNchwLayoutOp.predicate>>;
    
    // TODO(b/343278954): Move the creation of transposes to a separate prepare pass
    // to avoid creating multiple pattern-rewrite rules for the same composite op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. src/time/format.go

    func atoi[bytes []byte | string](s bytes) (x int, err error) {
    	neg := false
    	if len(s) > 0 && (s[0] == '-' || s[0] == '+') {
    		neg = s[0] == '-'
    		s = s[1:]
    	}
    	q, rem, err := leadingInt(s)
    	x = int(q)
    	if err != nil || len(rem) > 0 {
    		return 0, errAtoi
    	}
    	if neg {
    		x = -x
    	}
    	return x, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  6. test/codegen/bits.go

    	return a[i>>6]&(1<<(i&63)) != 0
    }
    func issue44228b(a []int32, i int) bool {
    	// amd64: "BTL", -"SHL"
    	return a[i>>5]&(1<<(i&31)) != 0
    }
    
    func issue48467(x, y uint64) uint64 {
    	// arm64: -"NEG"
    	d, borrow := bits.Sub64(x, y, 0)
    	return x - d&(-borrow)
    }
    
    func foldConst(x, y uint64) uint64 {
    	// arm64: "ADDS\t[$]7",-"MOVD\t[$]7"
    	d, b := bits.Add64(x, 7, 0)
    	return b & d
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

    // input is a scalar or not. Restrict pattern to ranked inputs so that input to
    // the Sum op is also ranked.
    
    // TODO(hinsu): Support scalar inputs by introducing reshape to 1D.
    def NonScalarType : Type<Neg<HasAnyRankOfPred<[0]>>, "Non scalar type">;
    
    def LowerSoftmaxCrossEntropyWithLogitsOp : Pattern<
      (TF_SoftmaxCrossEntropyWithLogitsOp AnyRankedTensor:$features,
                                          AnyRankedTensor:$labels),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

               TypeIsPred<"fw_projection_bias", NoneType>,
               TypeIsPred<"bw_projection_weights", NoneType>,
               TypeIsPred<"bw_projection_bias", NoneType>]>,
          And<[
            Neg<TypeIsPred<"fw_projection_weights", NoneType>>,
            Neg<TypeIsPred<"bw_projection_weights", NoneType>>,
         ]>
       ]>>;
    
    // BidirectionalSequenceLstm op.
    // TODO(ashwinm): Add constraint to validate the combination of operands
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

    // CHECK-LABEL: square
    // CHECK:  "tfl.square"(%arg0) : (tensor<8x16xf32>) -> tensor<8x16xf32>
    }
    
    func.func @neg(%arg0: tensor<8x16xf32>) -> tensor<8x16xf32> {
      %0 = "tf.Neg"(%arg0) : (tensor<8x16xf32>) -> tensor<8x16xf32>
      func.return %0 : tensor<8x16xf32>
    // CHECK-LABEL: neg
    // CHECK:  "tfl.neg"(%arg0) : (tensor<8x16xf32>) -> tensor<8x16xf32>
    }
    
    func.func @log(%arg0: tensor<8x16xf32>) -> tensor<8x16xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewritePPC64.go

    		v.AuxInt = int64ToAuxInt(-c)
    		v.AddArg(x)
    		return true
    	}
    	// match: (NEG (SUB x y))
    	// result: (SUB y x)
    	for {
    		if v_0.Op != OpPPC64SUB {
    			break
    		}
    		y := v_0.Args[1]
    		x := v_0.Args[0]
    		v.reset(OpPPC64SUB)
    		v.AddArg2(y, x)
    		return true
    	}
    	// match: (NEG (NEG x))
    	// result: x
    	for {
    		if v_0.Op != OpPPC64NEG {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
Back to top