Function index
MatConvNet includes several MATLAB functions organized as follows:
- Building blocks. These functions implement the CNN computational blocks that can be combined either manually or using one of the provided wrappers to construct CNNs.
- SimpleCNN wrapper. SimpleNN is a lightweight wrapper implementing CNNs that are linear chains of computational blocks.
- DagNN wrapper. DagNN is an object-oriented wrapper supporting more complex network topologies.
- Other functions. These helper functions are used to initialize and compile MatConvNet.
There is no general training function as training depends on the
dataset and problem. Look at the examples subdirectory for code
showing how to train CNNs.
Building blocks
vl_nnbnormBatch normalization.vl_nnbilinearsamplerBilinear Sampler.vl_nnconvLinear convolution by a filter.vl_nnconcatConcatenation.vl_nnconvtConvolution transpose.vl_nncropCropping.vl_nndropoutDropout.vl_nnlossClassification log-loss.vl_nnnoffsetNorm-dependent offset.vl_nnnormalizeLocal Response Normalization (LRN).vl_nnpdistPairwise distances.vl_nnpoolMax and sum pooling.vl_nnreluRectified Linear Unit.vl_nnroipoolRegion of interest pooling.vl_nnsigmoidSigmoid.vl_nnsoftmaxChannel soft-max.vl_nnsoftmaxlossDeprecatedvl_nnspnormSpatial normalization.
SimpleCNN wrapper
vl_simplennA lightweight wrapper for CNNs with a linear topology.vl_simplenn_tidyUpgrade or otherwise fix a CNN.vi_simplenn_displayPrint information about the CNN architecture.vl_simplenn_moveMove the CNN between CPU and GPU.
DagNN wrapper
DagNNAn object-oriented wrapper for CNN with complex topologies
Other functions
vl_argparseA helper function to parse optional arguments.vl_compilennCompile the MEX fields in the toolbox.vl_contribDownload, compile, and setup third-party modules.vl_rootnnReturn the path to the MatConvNet toolbox installation.vl_setpunnSetup MatConvNet for use in MATLAB.vl_imreadjpegQuickly load a batch of JPEG images.vl_taccumAccumulate tensors operating in-place when possible.vl_tmoveExchange tensors between MATLAB processes and GPUs.vl_tshowShow a tensor on screen.