Skip to content

Commit 4ce5c73

Browse files
authored
fix: statisitcs -> statistics (#5315)
This PR fixes a typo pattern. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Fixed multiple typos and wording in method docstrings and parameter descriptions (e.g., corrected "statisitcs" → "statistics", "Reveive" → "Receive", and similar inconsistencies). These edits improve clarity and consistency of technical documentation without changing behavior, interfaces, or functionality. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 09345bf commit 4ce5c73

18 files changed

Lines changed: 47 additions & 47 deletions

File tree

deepmd/dpmodel/descriptor/hybrid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def enable_compression(
245245
table_stride_2: float = 0.1,
246246
check_frequency: int = -1,
247247
) -> None:
248-
"""Receive the statisitcs (distance, max_nbor_size and env_mat_range) of the training data.
248+
"""Receive the statistics (distance, max_nbor_size and env_mat_range) of the training data.
249249
250250
Parameters
251251
----------

deepmd/dpmodel/descriptor/make_base_descriptor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def enable_compression(
162162
table_stride_2: float = 0.1,
163163
check_frequency: int = -1,
164164
) -> None:
165-
"""Receive the statisitcs (distance, max_nbor_size and env_mat_range) of the training data.
165+
"""Receive the statistics (distance, max_nbor_size and env_mat_range) of the training data.
166166
167167
Parameters
168168
----------

deepmd/pd/model/descriptor/dpa1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ def enable_compression(
600600
table_stride_2: float = 0.1,
601601
check_frequency: int = -1,
602602
) -> None:
603-
"""Receive the statisitcs (distance, max_nbor_size and env_mat_range) of the training data.
603+
"""Receive the statistics (distance, max_nbor_size and env_mat_range) of the training data.
604604
605605
Parameters
606606
----------

deepmd/pd/model/descriptor/se_a.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def enable_compression(
264264
table_stride_2: float = 0.1,
265265
check_frequency: int = -1,
266266
) -> None:
267-
"""Receive the statisitcs (distance, max_nbor_size and env_mat_range) of the training data.
267+
"""Receive the statistics (distance, max_nbor_size and env_mat_range) of the training data.
268268
269269
Parameters
270270
----------

deepmd/pt/model/descriptor/dpa1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ def enable_compression(
579579
table_stride_2: float = 0.1,
580580
check_frequency: int = -1,
581581
) -> None:
582-
"""Receive the statisitcs (distance, max_nbor_size and env_mat_range) of the training data.
582+
"""Receive the statistics (distance, max_nbor_size and env_mat_range) of the training data.
583583
584584
Parameters
585585
----------

deepmd/pt/model/descriptor/hybrid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def enable_compression(
237237
table_stride_2: float = 0.1,
238238
check_frequency: int = -1,
239239
) -> None:
240-
"""Receive the statisitcs (distance, max_nbor_size and env_mat_range) of the training data.
240+
"""Receive the statistics (distance, max_nbor_size and env_mat_range) of the training data.
241241
242242
Parameters
243243
----------

deepmd/pt/model/descriptor/se_a.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def enable_compression(
262262
table_stride_2: float = 0.1,
263263
check_frequency: int = -1,
264264
) -> None:
265-
"""Receive the statisitcs (distance, max_nbor_size and env_mat_range) of the training data.
265+
"""Receive the statistics (distance, max_nbor_size and env_mat_range) of the training data.
266266
267267
Parameters
268268
----------

deepmd/pt/model/descriptor/se_r.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ def enable_compression(
364364
table_stride_2: float = 0.1,
365365
check_frequency: int = -1,
366366
) -> None:
367-
"""Receive the statisitcs (distance, max_nbor_size and env_mat_range) of the training data.
367+
"""Receive the statistics (distance, max_nbor_size and env_mat_range) of the training data.
368368
369369
Parameters
370370
----------

deepmd/pt/model/descriptor/se_t.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ def enable_compression(
289289
table_stride_2: float = 0.1,
290290
check_frequency: int = -1,
291291
) -> None:
292-
"""Receive the statisitcs (distance, max_nbor_size and env_mat_range) of the training data.
292+
"""Receive the statistics (distance, max_nbor_size and env_mat_range) of the training data.
293293
294294
Parameters
295295
----------

deepmd/tf/descriptor/descriptor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def compute_input_stats(
140140
input_dict: dict[str, list[np.ndarray]],
141141
**kwargs: Any,
142142
) -> None:
143-
"""Compute the statisitcs (avg and std) of the training data. The input will be
143+
"""Compute the statistics (avg and std) of the training data. The input will be
144144
normalized by the statistics.
145145
146146
Parameters
@@ -228,7 +228,7 @@ def enable_compression(
228228
check_frequency: int = -1,
229229
suffix: str = "",
230230
) -> None:
231-
"""Receive the statisitcs (distance, max_nbor_size and env_mat_range) of the
231+
"""Receive the statistics (distance, max_nbor_size and env_mat_range) of the
232232
training data.
233233
234234
Parameters

0 commit comments

Comments
 (0)