Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 68 for NEG (0.04 sec)

  1. src/cmd/internal/obj/riscv/obj.go

    		// Rotation instructions are supported natively.
    		return []*instruction{ins}
    	}
    
    	switch ins.as {
    	case AROL, AROLW, AROR, ARORW:
    		// ROL -> OR (SLL x y) (SRL x (NEG y))
    		// ROR -> OR (SRL x y) (SLL x (NEG y))
    		sllOp, srlOp := ASLL, ASRL
    		if ins.as == AROLW || ins.as == ARORW {
    			sllOp, srlOp = ASLLW, ASRLW
    		}
    		shift1, shift2 := sllOp, srlOp
    		if ins.as == AROR || ins.as == ARORW {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/mlir/lite/schema/schema.fbs

      // WARNING: Experimental interface, subject to change
      DELEGATE = 51,
      BIDIRECTIONAL_SEQUENCE_LSTM = 52,
      CAST = 53,
      PRELU = 54,
      MAXIMUM = 55,
      ARG_MAX = 56,
      MINIMUM = 57,
      LESS = 58,
      NEG = 59,
      PADV2 = 60,
      GREATER = 61,
      GREATER_EQUAL = 62,
      LESS_EQUAL = 63,
      SELECT = 64,
      SLICE = 65,
      SIN = 66,
      TRANSPOSE_CONV = 67,
      SPARSE_TO_DENSE = 68,
      TILE = 69,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/asm.go

    			// prog.From is no address.
    			prog.To = a[0]
    		} else {
    			prog.From = a[0]
    			// prog.To is no address.
    		}
    		if p.arch.Family == sys.PPC64 && arch.IsPPC64NEG(op) {
    			// NEG: From and To are both a[0].
    			prog.To = a[0]
    			prog.From = a[0]
    			break
    		}
    	case 2:
    		if p.arch.Family == sys.ARM {
    			if arch.IsARMCMP(op) {
    				prog.From = a[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/asm/internal/asm/testdata/ppc64.s

    	CNTTZW R3,R4                    // 7c640434
    	CNTTZWCC R3,R4                  // 7c640435
    	CNTTZD R3,R4                    // 7c640474
    	CNTTZDCC R3,R4                  // 7c640475
    	NEG R3, R4                      // 7c8300d0
    	NEGCC R3, R4                    // 7c8300d1
    	NEGV R3, R4                     // 7c8304d0
    	NEGVCC R3, R4                   // 7c8304d1
    
    	BEQ 0(PC)                       // 41820000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 21:53:50 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir

      func.return %0 : tensor<?xf32>
    }
    
    // CHECK-LABEL:   func @neg(
    // CHECK-SAME:              %[[VAL_0:.*]]: tensor<2xf32>) -> tensor<2xf32> {
    // CHECK:           %[[VAL_1:.*]] = "tf.Neg"(%[[VAL_0]]) : (tensor<2xf32>) -> tensor<2xf32>
    // CHECK:           return %[[VAL_1]] : tensor<2xf32>
    // CHECK:         }
    func.func @neg(%arg0: tensor<2xf32>) -> tensor<2xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 340.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/prepare-tf.mlir

      %0 = "tf.Abs"(%cst) {device = ""} : (tensor<3x4xf32>) -> tensor<3x4xf32>
      %1 = "tf.Max"(%0, %cst_0) {device = "", keep_dims = false} : (tensor<3x4xf32>, tensor<i32>) -> tensor<4xf32>
      %2 = "tf.Neg"(%1) {device = ""} : (tensor<4xf32>) -> tensor<4xf32>
      %3 = "tfl.custom_tf"(%cst, %2, %1) ({
      ^bb0(%arg1: tensor<*xf32>, %arg2: tensor<*xf32>, %arg3: tensor<*xf32>):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 59.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      // Produces an output tensor with shape:
      // params.shape[:axis] + indices.shape + params.shape[axis + 1:]
      std::vector<int64_t> shape(params_type.getShape());
      int64_t axis_i = axis.getInt();
    
      // For neg axis values, we wrap around params, e.g. axis = -1 => params[:-1]
      if (axis_i < 0) {
        axis_i += params_rank;
      }
    
      // params must be at least rank axis + 1
      if (params_rank < axis_i + 1) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

      %0 = "tf.Log1p"(%arg0) : (tensor<?xf32>) -> tensor<?xf32>
      func.return %0 : tensor<?xf32>
    }
    
    // -----
    
    // CHECK-LABEL: @neg
    func.func @neg(%arg0: tensor<2xf32>) -> tensor<2xf32> {
      // CHECK:  mhlo.negate %arg0 : tensor<2xf32>
      %0 = "tf.Neg"(%arg0) : (tensor<2xf32>) -> tensor<2xf32>
      func.return %0 : tensor<2xf32>
    }
    
    // -----
    
    // CHECK-LABEL: func @neg_dynamic
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
Back to top