Skip to content

Commit 2b06cee

Browse files
Jerry-Gelhutton1psunn
authored
[mlir][tosa] Align operator descriptions with the spec (#128046)
This commit aligns the operator descriptions to the v1.0 spec (https://www.mlplatform.org/tosa/tosa_spec.html) Co-authored-by: Peng Sun <[[email protected]](mailto:[email protected])> Signed-off-by: Luke Hutton <[[email protected]](mailto:[email protected])> Signed-off-by: Luke Hutton <[email protected]> Co-authored-by: Luke Hutton <[email protected]> Co-authored-by: Peng Sun <[email protected]>
1 parent 74084ae commit 2b06cee

File tree

2 files changed

+118
-72
lines changed

2 files changed

+118
-72
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -228,13 +228,13 @@ class Tosa_I32EnumAttr<string name, string description, string mnemonic,
228228
// FP : Floating-Point Inference. Primarily FP16 and FP32 operations.
229229
//
230230
// Extension:
231-
// INT16 : 16-bit integer operations.
232-
// INT4 : 4-bit integer weights.
233-
// BF16 : BFloat16 operations.
234-
// FP8 : 8-bit floating-point operations E4M3.
235-
// FP8 : 8-bit floating-point operations E5M2.
236-
// FFT : Fast Fourier Transform operations.
237-
// VARIABLE : Stateful variable operations.
231+
// INT16 : 16-bit integer operations.
232+
// INT4 : 4-bit integer weights.
233+
// BF16 : BFloat16 operations.
234+
// FP8E4M3 : 8-bit floating-point operations E4M3.
235+
// FP8E5M2 : 8-bit floating-point operations E5M2.
236+
// FFT : Fast Fourier Transform operations.
237+
// VARIABLE : Stateful variable operations.
238238
//===----------------------------------------------------------------------===//
239239

240240
def Tosa_PRO_INT : I32EnumAttrCase<"pro_int", 1>;

0 commit comments

Comments
 (0)