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 09bc3d3 commit 5e17ae1Copy full SHA for 5e17ae1
onnxscript/values.py
@@ -1,5 +1,8 @@
1
# Copyright (c) Microsoft Corporation.
2
# Licensed under the MIT License.
3
+
4
+# ruff: noqa: TID251
5
6
from __future__ import annotations
7
8
import dataclasses
@@ -189,7 +192,7 @@ def _get_attribute_value(attr_proto: onnx.AttributeProto) -> Any:
189
192
"""Get the default value of an ONNX attribute."""
190
193
if attr_proto.type == onnx.AttributeProto.UNDEFINED:
191
194
return _EmptyDefault
- return onnx.helper.get_attribute_value(attr_proto) # noqa: TID251
195
+ return onnx.helper.get_attribute_value(attr_proto)
196
197
198
def _param_schemas_from_op_schema(
0 commit comments