Skip to content

Commit

Permalink
add doc str
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghan-iapcm authored Apr 6, 2024
1 parent 1cbbd9b commit a3e6f57
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deepmd/pt/model/atomic_model/base_atomic_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,8 @@ def change_out_bias(
'change-by-statistic' : perform predictions on labels of target dataset,
and do least square on the errors to obtain the target shift as bias.
'set-by-statistic' : directly use the statistic output bias in the target dataset.
stat_file_path : Optional[DPPath]
The path to the stat file.
"""
if bias_adjust_mode == "change-by-statistic":
delta_bias, out_std = compute_output_stats(
Expand Down

0 comments on commit a3e6f57

Please sign in to comment.