-
Notifications
You must be signed in to change notification settings - Fork 520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
breaking: move deepmd to deepmd.tf #3177
Conversation
Signed-off-by: Jinzhe Zeng <[email protected]>
Signed-off-by: Jinzhe Zeng <[email protected]>
@@ -7,26 +7,26 @@ | |||
|
|||
import numpy as np | |||
|
|||
import deepmd.op # noqa: F401 | |||
from deepmd.common import ( | |||
import deepmd.tf.op # noqa: F401 |
Check notice
Code scanning / CodeQL
Unused import Note
@@ -21,22 +21,22 @@ | |||
import google.protobuf.message | |||
|
|||
# load grad of force module | |||
import deepmd.op # noqa: F401 | |||
from deepmd.env import ( | |||
import deepmd.tf.op # noqa: F401 |
Check notice
Code scanning / CodeQL
Unused import Note
@@ -15,12 +15,12 @@ | |||
) | |||
|
|||
# load grad of force module | |||
import deepmd.op # noqa: F401 | |||
from deepmd.env import ( | |||
import deepmd.tf.op # noqa: F401 |
Check notice
Code scanning / CodeQL
Unused import Note test
@@ -21,52 +21,52 @@ | |||
) | |||
|
|||
# load grad of force module | |||
import deepmd.op # noqa: F401 | |||
from deepmd.common import ( | |||
import deepmd.tf.op # noqa: F401 |
Check notice
Code scanning / CodeQL
Unused import Note
@@ -52,7 +52,7 @@ | |||
if cls is DeepPot: | |||
backend = detect_backend(model_file) | |||
if backend == DPBackend.TensorFlow: | |||
from deepmd.infer.deep_pot import DeepPot as DeepPotTF | |||
from deepmd.tf.infer.deep_pot import DeepPot as DeepPotTF |
Check notice
Code scanning / CodeQL
Cyclic import Note
deepmd.tf.infer.deep_pot
@@ -651,6 +651,6 @@ | |||
if no command was input | |||
""" | |||
args = parse_args() | |||
from deepmd.entrypoints.main import main as deepmd_main | |||
from deepmd.tf.entrypoints.main import main as deepmd_main |
Check notice
Code scanning / CodeQL
Cyclic import Note
deepmd.tf.entrypoints.main
Signed-off-by: Jinzhe Zeng <[email protected]>
No description provided.