Note: This page has been translated by MathWorks. Please click here

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Series network class

A series network class that contains the layers in the trained network. A series network is a network with layers arranged one after another. There is a single input and a single output.

`trainedNet = trainNetwork(X,Y,layers,options)`

returns
a trained network. `trainedNet`

is a `SeriesNetwork`

object.

For more information on training a convolutional neural network,
see `trainNetwork`

.

activations | Compute convolutional neural network layer activations |

classify | Classify data using a trained convolutional neural network |

predict | Predict responses using a trained convolutional neural network |

Value. To learn how value classes affect
copy operations, see Copying Objects (MATLAB) in
the MATLAB^{®} documentation.

A convolutional neural network model saved with R2016a can only be loaded with a GPU, because in R2016a, the learnable parameters are stored as

`gpuArrays`

. Once you load the model, you can resave it in R2016b. This saves the learnable parameters as MATLAB arrays. You can then change the execution environment to CPU while running the network.

Was this topic helpful?