Skip to content

Commit aa90139

Browse files
Copilotanyangml
andcommitted
feat(tf): add r_differentiable and c_differentiable to polar fitting serialize method
Co-authored-by: anyangml <137014849+anyangml@users.noreply.github.com>
1 parent 000a453 commit aa90139

9 files changed

Lines changed: 10 additions & 0 deletions

File tree

deepmd/tf/fit/polar.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,8 @@ def serialize(self, suffix: str) -> dict:
687687
"layer_name": None,
688688
"use_aparam_as_mask": False,
689689
"spin": None,
690+
"r_differentiable": False,
691+
"c_differentiable": False,
690692
}
691693
return data
692694

system/set.000/aparam.npy

224 Bytes
Binary file not shown.

system/set.000/box.npy

200 Bytes
Binary file not shown.

system/set.000/coord.npy

272 Bytes
Binary file not shown.

system/set.000/energy.npy

136 Bytes
Binary file not shown.

system/set.000/force.npy

272 Bytes
Binary file not shown.

system/set.000/fparam.npy

144 Bytes
Binary file not shown.

system/type.raw

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
0
2+
0
3+
1
4+
1
5+
1
6+
1

system/type_map.raw

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
foo
2+
bar

0 commit comments

Comments
 (0)