Skip to content

Commit 25a598f

Browse files
lhutton1Jerry-Ge
authored andcommitted
[mlir][tosa] Remove section numbers in operator tablegen
The section numbers don't currently match what is in the v1.0 spec. It can be a burden to remember to update these, and they didn't seem to have much use, so proposing to remove these comments. Signed-off-by: Luke Hutton <[email protected]> Change-Id: I15fa28321a8252439f2562b420f0cc3b9511c54b
1 parent 2a7d3f0 commit 25a598f

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

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

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ include "mlir/Dialect/Tosa/IR/TosaTypesBase.td"
2525
include "mlir/Dialect/Tosa/IR/TosaOpBase.td"
2626

2727
//===----------------------------------------------------------------------===//
28-
// TOSA Spec Section 2.2
2928
// Operator Class: Tensor Data Engine Operators.
3029
//===----------------------------------------------------------------------===//
3130

@@ -348,7 +347,6 @@ def Tosa_TransposeConv2DOp : Tosa_ConvOp<"transpose_conv2d"> {
348347
}
349348

350349
//===----------------------------------------------------------------------===//
351-
// TOSA Spec Section 2.3
352350
// Operator Class: Activation Functions.
353351
//===----------------------------------------------------------------------===//
354352

@@ -451,7 +449,6 @@ def Tosa_ErfOp : Tosa_ElementwiseUnaryOp<"erf"> {
451449
}
452450

453451
//===----------------------------------------------------------------------===//
454-
// TOSA Spec Section 2.4
455452
// Operator Class: Elementwise unary/binary/ternary operators.
456453
// Operator Subclass: Elementwise binary ops.
457454
//===----------------------------------------------------------------------===//
@@ -890,7 +887,6 @@ def Tosa_TableOp : Tosa_InferShapedTypeOp<"table"> {
890887
}
891888

892889
//===----------------------------------------------------------------------===//
893-
// TOSA Spec Section 2.5
894890
// Operator Class: Elementwise unary/binary/ternary operators.
895891
// Operator Subclass: Elementwise unary ops.
896892
//===----------------------------------------------------------------------===//
@@ -1174,7 +1170,6 @@ def Tosa_SinOp : Tosa_ElementwiseUnaryOp<"sin"> {
11741170
}
11751171

11761172
//===----------------------------------------------------------------------===//
1177-
// TOSA Spec Section 2.6
11781173
// Operator Class: Elementwise unary/binary/ternary operators.
11791174
// Operator Subclass: Elementwise ternary ops.
11801175
//===----------------------------------------------------------------------===//
@@ -1208,7 +1203,6 @@ def Tosa_SelectOp : Tosa_ElementwiseOp<"select"> {
12081203
}
12091204

12101205
//===----------------------------------------------------------------------===//
1211-
// TOSA Spec Section 2.7
12121206
// Operator Class: Logical Operations.
12131207
//===----------------------------------------------------------------------===//
12141208

@@ -1289,7 +1283,6 @@ def Tosa_GreaterEqualOp : Tosa_ElementwiseOp<"greater_equal",
12891283
}
12901284

12911285
//===----------------------------------------------------------------------===//
1292-
// TOSA Spec Section 2.8
12931286
// Operator Class: Reduction Ops.
12941287
//===----------------------------------------------------------------------===//
12951288

@@ -1502,7 +1495,6 @@ def Tosa_ReduceSumOp : Tosa_InferTensorTypeOp<"reduce_sum"> {
15021495
}
15031496

15041497
//===----------------------------------------------------------------------===//
1505-
// TOSA Spec Section 2.9
15061498
// Operator Class: Data Layout / Memory Reinterpretation.
15071499
//===----------------------------------------------------------------------===//
15081500

@@ -1727,7 +1719,6 @@ def Tosa_TransposeOp : Tosa_InferShapedTypeOp<"transpose",
17271719
}
17281720

17291721
//===----------------------------------------------------------------------===//
1730-
// TOSA Spec Section 2.10
17311722
// Operator Class: Scatter/gather Operations.
17321723
//===----------------------------------------------------------------------===//
17331724

@@ -1775,7 +1766,6 @@ def Tosa_ScatterOp : Tosa_InferShapedTypeOp<"scatter"> {
17751766
}
17761767

17771768
//===----------------------------------------------------------------------===//
1778-
// TOSA Spec Section 2.11
17791769
// Operator Class: Image Frontend Functions.
17801770
//===----------------------------------------------------------------------===//
17811771

@@ -1811,7 +1801,6 @@ def Tosa_ResizeOp : Tosa_InferShapedTypeOp<"resize"> {
18111801
}
18121802

18131803
//===----------------------------------------------------------------------===//
1814-
// TOSA Spec Section 2.12
18151804
// Operator Class: Type Conversion.
18161805
//===----------------------------------------------------------------------===//
18171806

@@ -1912,7 +1901,6 @@ def Tosa_RescaleOp: Tosa_Op<"rescale", [Pure,
19121901
}
19131902

19141903
//===----------------------------------------------------------------------===//
1915-
// TOSA Spec Section 2.13
19161904
// Operator Class: Data Node Ops.
19171905
//===----------------------------------------------------------------------===//
19181906

@@ -1972,7 +1960,6 @@ def Tosa_IdentityOp: Tosa_Op<"identity", [Pure,
19721960
}
19731961

19741962
//===----------------------------------------------------------------------===//
1975-
// TOSA Spec Section 2.14
19761963
// Operator Class: Custom Operators.
19771964
//===----------------------------------------------------------------------===//
19781965

@@ -2027,7 +2014,6 @@ def Tosa_CustomOp : Tosa_Op<"custom"> {
20272014
}
20282015

20292016
//===----------------------------------------------------------------------===//
2030-
// TOSA Spec Section 2.15
20312017
// Operator Class: Control Flow Operators.
20322018
//===----------------------------------------------------------------------===//
20332019

0 commit comments

Comments
 (0)