generateFunction
Class: Autoencoder
(To be removed) Generate a MATLAB function to run the autoencoder
generateFunction will be removed in a future release. For more information,
see Transition Legacy Neural Network Code to dlnetwork Workflows.
For advice on updating your code, see Version History.
Syntax
Description
generateFunction( generates a
complete stand-alone function in the current directory, to run the autoencoder
autoenc)autoenc on input data.
generateFunction(
generates a complete stand-alone function with additional options specified by the
autoenc,pathname,Name,Value)Name,Value pair argument.
Input Arguments
Name-Value Arguments
Examples
Tips
If you do not specify the path and the file name,
generateFunction, by default, creates the code in an m-file with the nameneural_function.m. You can change the file name aftergenerateFunctiongenerates it. Or you can specify the path and file name using thepathnameinput argument in the call togenerateFunction.
Version History
Introduced in R2015bSee Also
Time Series
Modeler | fitrnet (Statistics and Machine Learning Toolbox) | fitcnet (Statistics and Machine Learning Toolbox) | trainnet | trainingOptions | dlnetwork