Neural Network Toolbox | ![]() ![]() |
Subobject Structures
These properties consist of cell arrays of structures that define each of the network's inputs, layers, outputs, targets, biases, and weights.
The properties for each kind of subobject are described in the Subobject Properties section that follows this Network Properties section.
inputs
This property holds structures of properties for each of the network's inputs.
It is always an cell array of input structures, where
is the number of network inputs (
net.numInputs
).
The structure defining the properties of the ith network input is located at:
Input Properties. See Inputs in the Subobject Properties section for descriptions of input properties.
layers
This property holds structures of properties for each of the network's layers.
It is always an cell array of layer structures, where
is the number of network layers (
net.numLayers
).
The structure defining the properties of the ith layer is located at:
Layer Properties. See Layers in the Subobject Properties section for descriptions of layer properties.
outputs
This property holds structures of properties for each of the network's outputs.
It is always an cell array, where
is the number of network layers (
net.numLayers
).
The structure defining the properties of the output from the ith layer (or a null matrix []
) is located at
if the corresponding output connection is 1 (or 0).
Output Properties. See Outputs in the Subobject Properties section for descriptions of output properties.
targets
This property holds structures of properties for each of the network's targets.
It is always an cell array, where
is the number of network layers (
net.numLayers
).
The structure defining the properties of the target associated with the ith layer (or a null matrix []
) is located at
if the corresponding target connection is 1 (or 0).
Target Properties. See Targets in the Subobject Properties section for descriptions of target properties.
biases
This property holds structures of properties for each of the network's biases.
It is always an cell array, where
is the number of network layers (
net.numLayers
).
The structure defining the properties of the bias associated with the ith layer (or a null matrix []
) is located at
if the corresponding bias connection is 1 (or 0).
Bias Properties. See Biases in the Subobject Properties section for descriptions of bias properties.
inputWeights
This property holds structures of properties for each of the network's input weights.
It is always an cell array, where
is the number of network layers (
net.numLayers
), and is the number of network inputs (
net.numInputs
).
The structure defining the properties of the weight going to the ith layer from the jth input (or a null matrix []
) is located at
if the corresponding input connection is 1 (or 0).
Input Weight Properties. See Input Weights in the Subobject Properties section for descriptions of input weight properties.
layerWeights
This property holds structures of properties for each of the network's layer weights.
It is always an cell array, where
is the number of network layers (
net.numLayers
).
The structure defining the properties of the weight going to the ith layer from the jth layer (or a null matrix []
) is located at:
if the corresponding layer connection is 1 (or 0).
Layer Weight Properties. See Layer Weights in the Subobject Properties section for descriptions of layer weight properties.
![]() | Network Object Reference | Functions | ![]() |