- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 130 for multiplication (0.41 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 51.4K bytes - Viewed (0) -
tensorflow/cc/gradients/math_grad_test.cc
const bool t_x, const bool t_y, std::function<Output(Output, Output)> mul_fn) { TF_ASSERT_OK(root_.status()); // Generate random (but compatible) shapes for matrix multiplication. std::vector<TensorShape> shapes; RandMatMulShapes(is_x_batch, is_y_batch, t_x, t_y, &shapes); TensorShape x_shape = shapes[0]; TensorShape y_shape = shapes[1]; TensorShape z_shape = shapes[2];
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 25 18:20:20 UTC 2023 - 36K bytes - Viewed (0) -
src/math/big/int.go
if k > n { return z.SetInt64(0) } // reduce the number of multiplications by reducing k if k > n-k { k = n - k // C(n, k) == C(n, n-k) } // C(n, k) == n * (n-1) * ... * (n-k+1) / k * (k-1) * ... * 1 // == n * (n-1) * ... * (n-k+1) / 1 * (1+1) * ... * k // // Using the multiplicative formula produces smaller values // at each step, requiring fewer allocations and computations: //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 14 17:02:38 UTC 2024 - 33.1K bytes - Viewed (0) -
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) -
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) -
src/cmd/compile/internal/ssa/_gen/RISCV64.rules
// Merge negation into fused multiply-add and multiply-subtract. // // Key: // // [+ -](x * y [+ -] z). // _ N A S // D U // D B // // Note: multiplication commutativity handled by rule generator. (F(MADD|NMADD|MSUB|NMSUB)S neg:(FNEGS x) y z) && neg.Uses == 1 => (F(NMSUB|MSUB|NMADD|MADD)S x y z)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 14:57:07 UTC 2024 - 40.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.td
CPred<"TFL::VerifyMulOpShapeConstraints(llvm::cast<MulOp>($_op))">>, DeclareOpInterfaceMethods<TFL_ArithmeticCount>]> { let summary = "Multiplication operator"; let description = [{ Element-wise multiplication operation. }]; let arguments = ( ins TFL_TensorOf<[F32, I32, UI32, I64, QI8, QUI8, QI16, I16, Complex<F<32>>]>:$lhs,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0) -
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) -
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) -
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)