bitorch.models.resnet.BasicBlockV2¶
- class bitorch.models.resnet.BasicBlockV2(in_channels: int, out_channels: int, stride: int)[source]¶
BasicBlock V2 from “Identity Mappings in Deep Residual Networks” paper. This is used for ResNet V2 for 18, 34 layers.
Methods
builds body and downsampling layers
forwards the input tensor x through the building block.
Attributes