- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for multiplication (0.3 sec)
-
src/cmd/compile/internal/ssa/_gen/generic.rules
// Note, x%c == 0 is rewritten as x == c*(x/c) during the opt pass // where (x/c) is performed using multiplication with magic constants. // To rewrite x%c == 0 requires pattern matching the rewritten expression // and checking that the division by the same constant wasn't already calculated. // This check is made by counting uses of the magic constant multiplication. // Note that if there were an intermediate opt pass, this rule could be applied
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 22:21:05 UTC 2024 - 135.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) -
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py
input_signature=[ tensor_spec.TensorSpec(shape=[1, 4], dtype=dtypes.float32) ] ) def matmul(self, matmul_input: core.Tensor) -> Mapping[str, core.Tensor]: """Performs a matrix multiplication. Args: matmul_input: Input tensor to matmul with the filter. Returns: A map of: output key -> output result. """ out = math_ops.matmul(matmul_input, self.matmul_filters)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 235.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
int64_t LogisticOp::GetArithmeticCount(Operation* op) { int64_t count; // As a very rough ballpark, the cost of evaluating a math function // such as tanh or logistic is about 32 multiplications, and about as // many additions/subtractions. (Just a power-of-two order-of-magnitude // from looking at actual implementations that we use in runtime/code).
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0)