InstanceNorm#

class InstanceNorm(num_channels, eps=1e-05, affine=True, **kwargs)[源代码]#

Simple implementation of InstanceNorm. Only support 4d tensor now. Reference: https://arxiv.org/abs/1607.08022. Note that InstanceNorm equals using GroupNome with num_groups=num_channels.