Commit 0d6cf0c8 by Tianqi Chen Committed by GitHub

Update function.py

parent 0e6370db
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment