Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for mul (0.07 sec)

  1. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

    int64_t GetElementIndex(const std::vector<int64_t>& shape,
                            const std::vector<int64_t>& current_index) {
      int64_t ind = 0;
      int64_t mul = 1;
      for (int i = shape.size() - 1; i >= 0; --i) {
        ind += (current_index[i] % shape[i]) * mul;
        mul *= shape[i];
      }
      return ind;
    }
    
    // Helper method that increment index represented in 'current_index_ptr'
    // in the shape of 'result_shape'.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

            %add_out, %add_control = tf_executor.island wraps "tf.Add"(%arg2, %arg3) : (tensor<f32>, tensor<f32>) -> tensor<f32>
            %mul_out, %mul_control = tf_executor.island wraps "tf.Mul"(%arg2, %arg3) : (tensor<f32>, tensor<f32>) -> tensor<f32>
            %barrier = tf_executor.island(%assign_0_control, %assign_1_control, %add_control, %mul_control) wraps "tf.NoOp"() : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    class OperandsSameElementTypeConstraintBase<string op> :
      PredOpTrait<op # " operands have same element type",
        OperandsSameElementTypeConstraintBasePred>;
    
    // This is a constraint for most of the binary ops, e.g., add, mul, div, etc.
    // Binary ops lhs & rhs should have the same value type, and is capable to
    // compare quantization types as well.
    def BinaryOpSameElementTypeConstraint :
      OperandsSameElementTypeConstraintBase<"binary op">;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewriteRISCV64.go

    	}
    }
    func rewriteValueRISCV64_OpHmul32(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Hmul32 x y)
    	// result: (SRAI [32] (MUL (SignExt32to64 x) (SignExt32to64 y)))
    	for {
    		x := v_0
    		y := v_1
    		v.reset(OpRISCV64SRAI)
    		v.AuxInt = int64ToAuxInt(32)
    		v0 := b.NewValue0(v.Pos, OpRISCV64MUL, typ.Int64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 205.1K bytes
    - Viewed (0)
  5. pkg/printers/internalversion/printers_test.go

    			expected: []metav1.TableRow{{Cells: []interface{}{"test5", "LoadBalancer", "10.9.8.7", "3.4.5.6,80.11.12.10", "8888/tcp", "<unknown>"}}},
    		},
    		{
    			// Test LoadBalancer service with mul ExternalIPs
    			service: api.Service{
    				ObjectMeta: metav1.ObjectMeta{Name: "test6"},
    				Spec: api.ServiceSpec{
    					Type: api.ServiceTypeLoadBalancer,
    					Ports: []api.ServicePort{
    						{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/ppc64/asm9.go

    				c.ctxt.Diag("Rule expects a uint16 constant load. got:\n%v", p)
    			}
    			o1 = LOP_IRR(uint32(OP_ORI), uint32(p.To.Reg), uint32(0), uint32(v))
    		}
    
    	case 4: /* add/mul $scon,[r1],r2 */
    		v := c.regoff(&p.From)
    
    		r := int(p.Reg)
    		if r == 0 {
    			r = int(p.To.Reg)
    		}
    		if r0iszero != 0 /*TypeKind(100016)*/ && p.To.Reg == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/x86/asm6.go

    					ab.Put1(byte(0x90 + reg[z])) // xchg lsh,ax
    				}
    				return
    			}
    
    			if isax(&p.To) || p.To.Type == obj.TYPE_NONE {
    				// We certainly don't want to exchange
    				// with AX if the op is MUL or DIV.
    				ab.Put1(0x87) // xchg lhs,bx
    				ab.asmando(ctxt, cursym, p, &p.From, reg[REG_BX])
    				subreg(&pp, z, REG_BX)
    				ab.doasm(ctxt, cursym, &pp)
    				ab.Put1(0x87) // xchg lhs,bx
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/arm64/asm7.go

    			rel := obj.Addrel(c.cursym)
    
    			rel.Off = int32(c.pc)
    			rel.Siz = 4
    			rel.Sym = p.To.Sym
    			rel.Add = p.To.Offset
    			rel.Type = objabi.R_ADDR
    			o1 = 0
    		}
    
    	case 15: /* mul/mneg/umulh/umull r,[r,]r; madd/msub/fmadd/fmsub/fnmadd/fnmsub Rm,Ra,Rn,Rd */
    		o1 = c.oprrr(p, p.As)
    
    		rf := int(p.From.Reg)
    		rt := int(p.To.Reg)
    		var r int
    		var ra int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
Back to top