Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for multiplication (0.63 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

    }
    
    def TF_XlaSparseDenseMatmulWithStaticBufferSizeOp : TF_Op<"XlaSparseDenseMatmulWithStaticBufferSize", [Pure]> {
      let summary = "A XLA op which performs the dense-sparse matrix multiplication.";
    
      let arguments = (ins
        TF_Int32Tensor:$row_pointers,
        TF_Int32Tensor:$sorted_sample_ids,
        TF_Int32Tensor:$sorted_token_ids,
        TF_Float32Tensor:$sorted_gains,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  2. src/math/big/float_test.go

    		}
    
    	}
    }
    
    // TestFloatMul tests Float.Mul/Quo by comparing the result of a "manual"
    // multiplication/division of arguments represented by Bits values with the
    // respective Float multiplication/division for a variety of precisions
    // and rounding modes.
    func TestFloatMul(t *testing.T) {
    	for _, xbits := range bitsList {
    		for _, ybits := range bitsList {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

          """A model with two matmul ops."""
    
          @def_function.function
          def matmul(self, input_tensor: core.Tensor) -> Mapping[str, core.Tensor]:
            """Performs a matrix multiplication.
    
            Args:
              input_tensor: Input tensor to matmul with the filter.
    
            Returns:
              A 'output' -> output tensor mapping
            """
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

            return self.has_bias() and self.bias_size != self.filters.shape[-1]
    
          @def_function.function
          def matmul(self, input_tensor: core.Tensor) -> Mapping[str, core.Tensor]:
            """Performs a matrix multiplication.
    
            Depending on self.has_bias and self.activation_fn, it may add a bias
            term or
            go through the activaction function.
    
            Args:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/S390X.rules

    (RISBGZ x {r}) && r == s390x.NewRotateParams(32, 63, 0) => (MOVWZreg x)
    
    // Use sign/zero extend instead of ANDW.
    (ANDWconst [0x00ff] x) => (MOVBZreg x)
    (ANDWconst [0xffff] x) => (MOVHZreg x)
    
    // Strength reduce multiplication to the sum (or difference) of two powers of two.
    //
    // Examples:
    //     5x -> 4x + 1x
    //    10x -> 8x + 2x
    //   120x -> 128x - 8x
    //  -120x -> 8x - 128x
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
  6. src/math/big/int_test.go

    	for _, a := range prodZZ {
    		arg := a
    		testFunZZ(t, "MulZZ", MulZZ, arg)
    
    		arg = argZZ{a.z, a.y, a.x}
    		testFunZZ(t, "MulZZ symmetric", MulZZ, arg)
    	}
    }
    
    // mulBytes returns x*y via grade school multiplication. Both inputs
    // 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))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/S390XOps.go

    		// of the result.
    		{
    			name:         "POPCNT",
    			argLength:    1,
    			reg:          gp11,
    			asm:          "POPCNT",
    			typ:          "UInt64",
    			clobberFlags: true,
    		},
    
    		// unsigned multiplication (64x64 → 128)
    		//
    		// Multiply the two 64-bit input operands together and place the 128-bit result into
    		// an even-odd register pair. The second register in the target pair also contains
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 52.5K bytes
    - Viewed (0)
  8. src/go/types/expr.go

    }
    
    // This is only used for operations that may cause overflow.
    var op2str2 = [...]string{
    	token.ADD: "addition",
    	token.SUB: "subtraction",
    	token.XOR: "bitwise XOR",
    	token.MUL: "multiplication",
    	token.SHL: "shift",
    }
    
    // If typ is a type parameter, underIs returns the result of typ.underIs(f).
    // Otherwise, underIs returns the result of f(under(typ)).
    func underIs(typ Type, f func(Type) bool) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  9. src/runtime/mgcscavenge.go

    	// looks strange but the purpose is to arrive at an integer division
    	// (e.g. if retainExtraPercent = 12.5, then we get a divisor of 8)
    	// that also avoids the overflow from a multiplication.
    	gcPercentGoal += gcPercentGoal / (1.0 / (retainExtraPercent / 100.0))
    	// Align it to a physical page boundary to make the following calculations
    	// a bit more exact.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/expr.go

    }
    
    // This is only used for operations that may cause overflow.
    var op2str2 = [...]string{
    	syntax.Add: "addition",
    	syntax.Sub: "subtraction",
    	syntax.Xor: "bitwise XOR",
    	syntax.Mul: "multiplication",
    	syntax.Shl: "shift",
    }
    
    // If typ is a type parameter, underIs returns the result of typ.underIs(f).
    // Otherwise, underIs returns the result of f(under(typ)).
    func underIs(typ Type, f func(Type) bool) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
Back to top