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_nnbnorm
Batch normalization.vl_nnbilinearsampler
Bilinear Sampler.vl_nnconv
Linear convolution by a filter.vl_nnconcat
Concatenation.vl_nnconvt
Convolution transpose.vl_nncrop
Cropping.vl_nndropout
Dropout.vl_nnloss
Classification log-loss.vl_nnnoffset
Norm-dependent offset.vl_nnnormalize
Local Response Normalization (LRN).vl_nnpdist
Pairwise distances.vl_nnpool
Max and sum pooling.vl_nnrelu
Rectified Linear Unit.vl_nnroipool
Region of interest pooling.vl_nnsigmoid
Sigmoid.vl_nnsoftmax
Channel soft-max.vl_nnsoftmaxloss
Deprecatedvl_nnspnorm
Spatial normalization.
SimpleCNN wrapper
vl_simplenn
A lightweight wrapper for CNNs with a linear topology.vl_simplenn_tidy
Upgrade or otherwise fix a CNN.vi_simplenn_display
Print information about the CNN architecture.vl_simplenn_move
Move the CNN between CPU and GPU.
DagNN wrapper
DagNN
An object-oriented wrapper for CNN with complex topologies
Other functions
vl_argparse
A helper function to parse optional arguments.vl_compilenn
Compile the MEX fields in the toolbox.vl_contrib
Download, compile, and setup third-party modules.vl_rootnn
Return the path to the MatConvNet toolbox installation.vl_setpunn
Setup MatConvNet for use in MATLAB.vl_imreadjpeg
Quickly load a batch of JPEG images.vl_taccum
Accumulate tensors operating in-place when possible.vl_tmove
Exchange tensors between MATLAB processes and GPUs.vl_tshow
Show a tensor on screen.