private
dense_block
— function
dense_block(inplanes, growth_rates)
Create a sequence of DenseNet bottlenecks increasing
the number of output feature maps by growth_rates
with each block
(reference).
Arguments
inplanes
: number of input feature maps to the full sequencegrowth_rates
: the growth (additive) rates of output feature maps after each block (a vector ofk
s from the ref)