Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 62 for NEG (0.07 sec)

  1. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    		{name: "NEGshiftLL", argLength: 1, reg: gp11, asm: "NEG", aux: "Int64"},                   // -(arg0<<auxInt), auxInt should be in the range 0 to 63.
    		{name: "NEGshiftRL", argLength: 1, reg: gp11, asm: "NEG", aux: "Int64"},                   // -(arg0>>auxInt), unsigned shift, auxInt should be in the range 0 to 63.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteARM64.go

    			break
    		}
    		v.reset(OpARM64MNEGW)
    		v.AddArg2(x, y)
    		return true
    	}
    	// match: (NEG (NEG x))
    	// result: x
    	for {
    		if v_0.Op != OpARM64NEG {
    			break
    		}
    		x := v_0.Args[0]
    		v.copyOf(x)
    		return true
    	}
    	// match: (NEG (MOVDconst [c]))
    	// result: (MOVDconst [-c])
    	for {
    		if v_0.Op != OpARM64MOVDconst {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.td

    include "mlir/Dialect/Func/IR/FuncOps.td"
    include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td"
    include "tensorflow/compiler/mlir/tensorflow/transforms/rewrite_util.td"
    
    def NonScalarRankedType : Type<And<[Neg<HasAnyRankOfPred<[0]>>, HasRankPred]>,
                             "Non scalar type">;
    
    def HasSingleElement: Constraint<CPred<"($0.size() == 1)">>;
    
    def EmptyList: NativeCodeCall<"llvm::SmallVector<mlir::Value>{}">;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    		}
    		st.subs.add(ret)
    	}
    	return ret
    }
    
    // number parses:
    //
    //	number ::= [n] <(non-negative decimal integer)>
    func (st *state) number() int {
    	neg := false
    	if len(st.str) > 0 && st.str[0] == 'n' {
    		neg = true
    		st.advance(1)
    	}
    	if len(st.str) == 0 || !isDigit(st.str[0]) {
    		st.fail("missing number")
    	}
    	val := 0
    	for len(st.str) > 0 && isDigit(st.str[0]) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  6. test/codegen/shift.go

    	// s390x:-"RISBGZ",-"AND",-"LOCGR"
    	return v << (s & 63)
    }
    
    func rshMask32Ux64(v uint32, s uint64) uint32 {
    	// arm64:"LSR",-"AND"
    	// ppc64x:"ISEL",-"ORN"
    	// riscv64:"SRLW","SLTIU","NEG","AND\t",-"SRL\t"
    	// s390x:-"RISBGZ",-"AND",-"LOCGR"
    	return v >> (s & 63)
    }
    
    func rsh5Mask32Ux64(v uint32, s uint64) uint32 {
    	// riscv64:"SRLW",-"AND\t",-"SLTIU",-"SRL\t"
    	return v >> (s & 31)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewritePPC64latelower.go

    			break
    		}
    		if !(v.Block == z.Block) {
    			break
    		}
    		v.reset(OpPPC64CMPconst)
    		v.AuxInt = int64ToAuxInt(0)
    		v.AddArg(convertPPC64OpToOpCC(z))
    		return true
    	}
    	// match: (CMPconst [0] z:(NEG x))
    	// cond: v.Block == z.Block
    	// result: (CMPconst [0] convertPPC64OpToOpCC(z))
    	for {
    		if auxIntToInt64(v.AuxInt) != 0 {
    			break
    		}
    		z := v_0
    		if z.Op != OpPPC64NEG {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

    //
    //   %unpacked:N = "tf.Unpack"(%0)
    //   %neg0 = "tf.Neg"(%unpacked#0)
    //   %neg1 = "tf.Neg"(%unpacked#1)
    //   ...
    //   %negN-1 = "tf.Neg"(%unpacked:N-1)
    //
    // Rewrite it to:
    //
    //   %neg = "tf.Neg"(%0)
    //   %unpacked:N = "tf.Unpack"(%neg)
    class HoistCwiseUnaryOutOfUnpack : public OpRewritePattern<UnpackOp> {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  9. src/database/sql/convert.go

    // (finite=0, infinite=1, NaN=2), a base-2 big-endian integer
    // coefficient (also known as a significand) as a []byte, and an int32 exponent.
    // These are composed into a final value as "decimal = (neg) (form=finite) coefficient * 10 ^ exponent".
    // A zero length coefficient is a zero value.
    // The big-endian integer coefficient stores the most significant byte first (at coefficient[0]).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. 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)
Back to top