Commit df9de17d authored by Parth Agarwal's avatar Parth Agarwal Committed by Soumith Chintala
Browse files

Fixed typo in normalize() function. (#823)

Changed 'channely' to 'channel' in the comments of normalize function.
parent a61803f0
...@@ -192,7 +192,7 @@ def normalize(tensor, mean, std, inplace=False): ...@@ -192,7 +192,7 @@ def normalize(tensor, mean, std, inplace=False):
Args: Args:
tensor (Tensor): Tensor image of size (C, H, W) to be normalized. tensor (Tensor): Tensor image of size (C, H, W) to be normalized.
mean (sequence): Sequence of means for each channel. mean (sequence): Sequence of means for each channel.
std (sequence): Sequence of standard deviations for each channely. std (sequence): Sequence of standard deviations for each channel.
Returns: Returns:
Tensor: Normalized Tensor image. Tensor: Normalized Tensor image.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment