Skip to content

Commit e821a41

Browse files
Fix parameter-related typos in comments and docstrings
1 parent a8591e7 commit e821a41

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

backends/nxp/quantizer/patterns.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@
4343
@dataclass
4444
class NodeArgsIdx:
4545
"""
46-
Specifies indexes to args paramater of Node in node input annotation.
46+
Specifies indexes to args parameter of Node in node input annotation.
4747
4848
4949
Attributes:
50-
idx (int): Index to Node's args paramater (list). Selects an input Node or a list of Nodes at the index.
50+
idx (int): Index to Node's args parameter (list). Selects an input Node or a list of Nodes at the index.
5151
inner_idx (int): If specified, index to a list pointed by 'idx' attribute. Selects an input Node at the index.
5252
Default: None.
5353
"""

backends/xnnpack/operators/quant_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
class QuantParams:
3232
"""
33-
QuantParams class, to represent the paramaters and meta data needed
33+
QuantParams class, to represent the parameters and meta data needed
3434
to quantize a tensor. The metadata can technically all be encapsulated
3535
within the quant torch.fx.Node, however, there are some cases in which
3636
nodes which are meant to be quantized for XNNPACK are not quantized

0 commit comments

Comments
 (0)