private
xception_block
— function
xception_block(inchannels, outchannels, nrepeats; stride = 1, start_with_relu = true,
grow_at_start = true)
Create an Xception block. (reference)
Arguments
inchannels
: The number of channels in the input. The default value is 3.outchannels
: number of output channels.nrepeats
: number of repeats of depthwise separable convolution layers.stride
: stride by which to downsample the input.start_with_relu
: if true, start the block with a ReLU activation.grow_at_start
: if true, increase the number of channels at the first convolution.