MCPcopy Create free account
hub / github.com/VainF/DeepLabV3Plus-Pytorch / ExtNormalize

Class ExtNormalize

utils/ext_transforms.py:298–324  ·  view source on GitHub ↗

Normalize a tensor image with mean and standard deviation. Given mean: ``(M1,...,Mn)`` and std: ``(S1,..,Sn)`` for ``n`` channels, this transform will normalize each channel of the input ``torch.*Tensor`` i.e. ``input[channel] = (input[channel] - mean[channel]) / std[channel]`` Args:

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected