We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e52e9d commit 629bd7dCopy full SHA for 629bd7d
src/onnx_ir/_enums.py
@@ -170,7 +170,10 @@ def is_floating_point(self) -> bool:
170
}
171
172
def is_integer(self) -> bool:
173
- """Returns True if the data type is an integer."""
+ """Returns True if the data type is an integer.
174
+
175
+ .. versionadded:: 0.1.4
176
+ """
177
return self in {
178
DataType.UINT8,
179
DataType.INT8,
@@ -185,7 +188,10 @@ def is_integer(self) -> bool:
185
188
186
189
187
190
def is_signed(self) -> bool:
- """Returns True if the data type is a signed type."""
191
+ """Returns True if the data type is a signed type.
192
193
194
195
196
DataType.FLOAT,
197
0 commit comments