Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
yelite committed Aug 15, 2022
1 parent 538787a commit 753ccce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/tvm/script/printer/ir_docsifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ def set_dispatch(
raise TypeError(f"{type(node_type)} is not a registered TVM object type.")

_ensure_cleanup_function_registered()
_ffi_api.IRDocsifierSetDispatch( # type: ignore
_ffi_api.IRDocsifierSetDispatch( # type: ignore # pylint: disable=no-member
dispatch_token, type_index, dispatch_function
) # pylint: disable=no-member
)
_REGISTERED_TYPES.add((dispatch_token, type_index))

def as_doc(self, obj: Object, object_path: ObjectPath) -> Doc:
Expand Down

0 comments on commit 753ccce

Please sign in to comment.