Skip to content

Commit 8c86290

Browse files
committed
update data modifier in unit tests
1 parent 41606ae commit 8c86290

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

source/tests/tf/test_data_modifier_shuffle.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
GLOBAL_NP_FLOAT_PRECISION,
99
tf,
1010
)
11-
from deepmd.tf.infer.data_modifier import (
12-
DipoleChargeModifier,
13-
)
1411
from deepmd.tf.infer.deep_dipole import (
1512
DeepDipole,
1613
)
14+
from deepmd.tf.modifier import (
15+
DipoleChargeModifier,
16+
)
1717
from deepmd.tf.train.run_options import (
1818
RunOptions,
1919
)

source/tests/tf/test_dipolecharge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from deepmd.tf.env import (
88
GLOBAL_NP_FLOAT_PRECISION,
99
)
10-
from deepmd.tf.infer import (
10+
from deepmd.tf.modifier import (
1111
DipoleChargeModifier,
1212
)
1313
from deepmd.tf.utils.convert import (

0 commit comments

Comments
 (0)