Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for MULTIPLY (0.18 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

        module_str = self._extract_first_xla_call_module_op(
            self._output_saved_model_path
        )
    
        # Tests that the output graph contains multiply for symmetric
        # dequantization.
        self.assertTrue(re.search('stablehlo.multiply', module_str))
        # Tests that the output graph contains float dot_general.
        self.assertTrue(
            re.search('stablehlo.dot_general.*xf32>.*xf32>.*xf32>', module_str)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

    // %13 = stablehlo.subtract %7, %12  // q1 * q2 - q2 * z1
    // %14 = stablehlo.constant  // Merged scale s1 * s2, precalculated.
    // %15 = stablehlo.broadcast_in_dim %14
    // %16 = stablehlo.multiply %13 %15  // r3 = s1 s2 (q1 q2 - q2 z1)
    //
    // The following quant -> dequant pattern is a no-op, but is required to
    // retrieve the quantization parameters for the output tensor.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  3. src/crypto/internal/nistec/p256_asm_ppc64le.s

    // equivalent function from the corresponding s390x
    // instruction for vector multiply high, low, and add,
    // since there aren't exact equivalent instructions.
    // The corresponding s390x instructions appear in the
    // comments.
    // Implementation for big endian would have to be
    // investigated, I think it would be different.
    //
    //
    // Vector multiply word
    //
    //	VMLF  x0, x1, out_low
    //	VMLHF x0, x1, out_hi
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/S390XOps.go

    		{name: "LoweredNilCheck", argLength: 2, reg: regInfo{inputs: []regMask{ptrsp}}, clobberFlags: true, nilCheck: true, faultOnNilArg0: true},
    		// Round ops to block fused-multiply-add extraction.
    		{name: "LoweredRound32F", argLength: 1, reg: fp11, resultInArg0: true, zeroWidth: true},
    		{name: "LoweredRound64F", argLength: 1, reg: fp11, resultInArg0: true, zeroWidth: true},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 52.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (Sub32F ...) => (FSUBS ...)
    (Sub64F ...) => (FSUB ...)
    
    (Min(32|64)F x y) && buildcfg.GOPPC64 >= 9 => (XSMINJDP x y)
    (Max(32|64)F x y) && buildcfg.GOPPC64 >= 9 => (XSMAXJDP x y)
    
    // Combine 64 bit integer multiply and adds
    (ADD l:(MULLD x y) z) && buildcfg.GOPPC64 >= 9 && l.Uses == 1 && clobber(l) => (MADDLD x y z)
    
    (Mod16 x y) => (Mod32 (SignExt16to32 x) (SignExt16to32 y))
    (Mod16u x y) => (Mod32u (ZeroExt16to32 x) (ZeroExt16to32 y))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  6. src/math/all_test.go

    //go:noinline
    func fnmadd(x, y, z float64) float64 {
    	return FMA(-x, y, -z)
    }
    
    func TestFMANegativeArgs(t *testing.T) {
    	// Some architectures have instructions for fused multiply-subtract and
    	// also negated variants of fused multiply-add and subtract. This test
    	// aims to check that the optimizations that generate those instructions
    	// are applied correctly, if they exist.
    	for _, c := range fmaC {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 07 17:39:26 UTC 2023
    - 86.8K bytes
    - Viewed (0)
  7. src/math/big/int_test.go

    // and the result are assumed to be in big-endian representation (to
    // match the semantics of Int.Bytes and Int.SetBytes).
    func mulBytes(x, y []byte) []byte {
    	z := make([]byte, len(x)+len(y))
    
    	// multiply
    	k0 := len(z) - 1
    	for j := len(y) - 1; j >= 0; j-- {
    		d := int(y[j])
    		if d != 0 {
    			k := k0
    			carry := 0
    			for i := len(x) - 1; i >= 0; i-- {
    				t := int(z[k]) + int(x[i])*d + carry
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  8. src/crypto/tls/conn.go

    		payloadBytes-- // encrypted ContentType
    	}
    
    	// Allow packet growth in arithmetic progression up to max.
    	pkt := c.packetsSent
    	c.packetsSent++
    	if pkt > 1000 {
    		return maxPlaintext // avoid overflow in multiply below
    	}
    
    	n := payloadBytes * int(pkt+1)
    	if n > maxPlaintext {
    		n = maxPlaintext
    	}
    	return n
    }
    
    func (c *Conn) write(data []byte) (int, error) {
    	if c.buffering {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  9. src/encoding/xml/marshal_test.go

    }{
    	{
    		Value: make(chan bool),
    		Err:   "xml: unsupported type: chan bool",
    		Kind:  reflect.Chan,
    	},
    	{
    		Value: map[string]string{
    			"question": "What do you get when you multiply six by nine?",
    			"answer":   "42",
    		},
    		Err:  "xml: unsupported type: map[string]string",
    		Kind: reflect.Map,
    	},
    	{
    		Value: map[*Ship]bool{nil: false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  10. src/time/time.go

    //
    // To count the number of units in a [Duration], divide:
    //
    //	second := time.Second
    //	fmt.Print(int64(second/time.Millisecond)) // prints 1000
    //
    // To convert an integer number of units to a Duration, multiply:
    //
    //	seconds := 10
    //	fmt.Print(time.Duration(seconds)*time.Second) // prints 10s
    const (
    	Nanosecond  Duration = 1
    	Microsecond          = 1000 * Nanosecond
    	Millisecond          = 1000 * Microsecond
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
Back to top