Skip to content
Snippets Groups Projects
Commit 277e2558 authored by Yaman Umuroglu's avatar Yaman Umuroglu
Browse files

[CustomOp] typo fix getattr -> getattribute for ONNX attr read

parent bbb0471b
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ class CustomOp(ABC):
if attr is not None:
# dtype indicates which ONNX Attribute member to use
# (such as i, f, s...)
ret = attr.__getattr__(dtype)
ret = attr.__getattribute__(dtype)
if dtype == "s":
# decode string attributes
ret = ret.decode("utf-8")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment