Skip to content
Snippets Groups Projects
Commit 0d6cf0c8 authored by Tianqi Chen's avatar Tianqi Chen Committed by GitHub
Browse files

Update function.py

parent 0e6370db
No related branches found
No related tags found
No related merge requests found
......@@ -292,7 +292,6 @@ def _init_api(namespace, target_module_name=None):
target_module_name = (
target_module_name if target_module_name else namespace)
if namespace.startswith("tvm."):
prefix = namespace[4:]
_init_api_prefix(target_module_name, namespace[4:])
else:
_init_api_prefix(target_module_name, namespace)
......
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