forked from jiuyuan/InfiniTensor
style: use __path__ to import
Signed-off-by: YdrMaster <ydrml@hotmail.com>
This commit is contained in:
parent
6a4de807e6
commit
ce04177585
|
@ -1,7 +1,6 @@
|
||||||
import sys
|
import sys
|
||||||
from pathlib import Path
|
|
||||||
|
|
||||||
sys.path.append(str(Path(str(__file__)).parent))
|
sys.path.extend(__path__)
|
||||||
|
|
||||||
import backend
|
import backend
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue