Skip to content

Commit ba1204e

Browse files
committed
Revert "fix(tf): add missing _apply_out_bias_std call in TensorModel build method"
This reverts commit 9a04df9.
1 parent 9a04df9 commit ba1204e

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

deepmd/tf/model/tensor.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,6 @@ def build(
174174
dout, rot_mat, natoms, input_dict, reuse=reuse, suffix=suffix
175175
)
176176

177-
# Apply out_bias and out_std for tensor models
178-
selected_atype = self._get_selected_atype(atype, natoms)
179-
output = self._apply_out_bias_std(output, atype, natoms, coord, selected_atype)
180-
181177
# Apply out_bias and out_std directly to tensor output
182178
# dipole not applying bias but polar does, per dpmodel
183179
if self.model_type == "polar" and self.fitting.shift_diag:

0 commit comments

Comments
 (0)