Introduction

Tutorials

Developer guide

API Reference

private bottleneck_v1function

bottleneck_v1(inplanes, outplanes, downsample = false)

Create a bottleneck residual block (reference). The bottleneck is composed of 3 convolutional layers with all a stride of 1 except the first convolutional layer which has a stride of 2.

Arguments:

  • inplanes: the number of input feature maps
  • outplanes: a list of the number of output feature maps for each convolution within the residual block
  • downsample: set to true to downsample the input