Fixed minor spelling mistakes (#10489)

Co-authored-by: WybeKoper <WybeKoper@users.noreply.github.com>
This commit is contained in:
WybeKoper
2021-03-03 09:47:25 +01:00
committed by GitHub
parent 1750e62900
commit 5dc303e281
3 changed files with 4 additions and 4 deletions

View File

@@ -169,7 +169,7 @@ class QuantAct(nn.Module):
):
x_act = x if identity is None else identity + x
# collect runnng stats if traiing
# collect running stats if training
if self.training:
assert not self.percentile, "percentile mode is not currently supported for activation."
assert not self.per_channel, "per-channel mode is not currently supported for activation."
@@ -746,7 +746,7 @@ def batch_frexp(inputs, max_bit=31):
class FixedPointMul(Function):
"""
Function to perform fixed-point arthmetic that can match integer arthmetic on hardware.
Function to perform fixed-point arithmetic that can match integer arithmetic on hardware.
Args:
pre_act (:obj:`torch.Tensor`):