Skip to content

Commit 77141ae

Browse files
lhutton1Jerry-Ge
authored andcommitted
[mlir][tosa] Update RFFT2D description to align with TOSA v1.0 spec
Align description with the TOSA v1.0 specification Change-Id: Ic36dbe369f430267462081e8cba866687c2ff4ed Signed-off-by: Luke Hutton <[email protected]>
1 parent d38380d commit 77141ae

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)