private basicblock — function
basicblock(inplanes, outplanes, downsample = false)
Create a basic residual block (reference).
Arguments:
inplanes: the number of input feature mapsoutplanes: a list of the number of output feature maps for each convolution within the residual blockdownsample: set totrueto downsample the input