Closed glenn-jocher closed 4 years ago
Identity() should be faster with less overhead if the intention is for these modules to be simple pass-throughs. https://pytorch.org/docs/stable/nn.html#torch.nn.Identity
module 'torch.nn' has no attribute 'Identity' in Pytorch-1.0
module 'torch.nn' has no attribute 'Identity'
@iamhankai ah! Of course, I see.
Identity() should be faster with less overhead if the intention is for these modules to be simple pass-throughs. https://pytorch.org/docs/stable/nn.html#torch.nn.Identity