- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for round_nearest_afz (0.19 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_patterns.td
// // rem = remainder(arg0, arg1) // for i in 0 to len(arg1): // rem[i] = arg0[i] - rem[i] / arg1[i] // if (rem[i] != 0 && sign(arg1[i]) != sign(rem[i])) // rem[i] -= 1.0 // return round_nearest_afz(rem) // As a dag this looks like the following: // round // | // -------- select // | | \ // && + div
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Feb 03 08:58:22 UTC 2024 - 34K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir
%10 = mhlo.add %9, %1 : tensor<10x10xbf16> %11 = "mhlo.select"(%7, %10, %9) : (tensor<10x10xi1>, tensor<10x10xbf16>, tensor<10x10xbf16>) -> tensor<10x10xbf16> %12 = "mhlo.round_nearest_afz"(%11) : (tensor<10x10xbf16>) -> tensor<10x10xbf16> %13 = "mhlo.tuple"(%12) : (tensor<10x10xbf16>) -> tuple<tensor<10x10xbf16>> func.return %12 : tensor<10x10xbf16> }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 29 07:26:59 UTC 2024 - 340.2K bytes - Viewed (0)