mpnetLayers
Syntax
Description
creates layers for motion planning networks (MPNet) with specified number of inputs and
outputs.layers
= mpnetLayers(numInputs
,numOutputs
)
The default network layer comprises one input layer, four hidden layers, and a fully connected output layer. The first two hidden layers contain a fully connected layer, ReLU layer, and a dropout layer. The last two hidden layers contain a fully connected layer and a ReLU layer. For more information about the MPNet, see Get Started with Motion Planning Networks.
specifies options to modify hidden layers and dropout layers in the network using one or
more name-value arguments.layers
= mpnetLayers(numInputs
,numOutputs
,Name=Value
)
Note
To run this function, you will require the Deep Learning Toolbox™.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2024a