Commit ba7eb9f4 authored by Fang Gao's avatar Fang Gao Committed by Alykhan Tejani
Browse files

fix typo (#412)

parent a614af3f
...@@ -107,7 +107,7 @@ class ToPILImage(object): ...@@ -107,7 +107,7 @@ class ToPILImage(object):
class Normalize(object): class Normalize(object):
"""Normalize an tensor image with mean and standard deviation. """Normalize a tensor image with mean and standard deviation.
Given mean: ``(M1,...,Mn)`` and std: ``(S1,..,Sn)`` for ``n`` channels, this transform Given mean: ``(M1,...,Mn)`` and std: ``(S1,..,Sn)`` for ``n`` channels, this transform
will normalize each channel of the input ``torch.*Tensor`` i.e. will normalize each channel of the input ``torch.*Tensor`` i.e.
``input[channel] = (input[channel] - mean[channel]) / std[channel]`` ``input[channel] = (input[channel] - mean[channel]) / std[channel]``
......
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