Skip to content

Commit 2b5ac43

Browse files
authored
[mlir][tosa] Update RFFT2D description to align with TOSA v1.0 spec (#129789)
1 parent 2ae5ded commit 2b5ac43

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,10 @@ def Tosa_RFFT2dOp : Tosa_InferShapedTypeOp<"rfft2d", [
372372
the input tensor consists of real values producing complex valued output. The
373373
complex output values will be split into the output_real and output_imag
374374
tensor arguments. RFFT2D takes advantage of Hermitian symmetry to only
375-
calculate the first half of the final output axis. Imaginary values with
376-
locations (0,0), (0,W/2), (H/2,0) and (H/2,W/2) are zero.
375+
calculate the first half of the final output axis. Implementations may choose
376+
to skip calculation of the imaginary values at (0,0), (0,W/2), (H/2,0), and
377+
(H/2, W/2). If the calculation is skipped, the result at that location must be
378+
zero.
377379

378380
Example:
379381

0 commit comments

Comments
 (0)