Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz committed Jan 14, 2022
1 parent 4f95d01 commit a4c32c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepmd/fit/ener.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ def build (self,
# like inputs, but we don't want to add a dependency on inputs
inputs_zero = tf.zeros((nframes, self.dim_descrpt * natoms[0]), dtype=self.fitting_precision)
else:
inputs_zero = tf.zeros((nframes, self.dim_descrpt * natoms[0]), dtype=self.fitting_precision)
inputs_zero = tf.zeros_like(inputs, dtype=self.fitting_precision)


if bias_atom_e is not None :
Expand Down

0 comments on commit a4c32c7

Please sign in to comment.