private dense_bottleneck — function
dense_bottleneck(inplanes, growth_rate)
Create a Densenet bottleneck layer (reference).
Arguments
inplanes: number of input feature mapsoutplanes: number of output feature maps on bottleneck branch (and scaling factor for inner feature maps; see ref)