Help CenterHelp Center
mpnetSE2
Create deep copy of mpnetSE2 object
Since R2023b
mpnet2 = copy(mpnet1)
mpnet2 = copy(mpnet1) creates a deep copy of the specified mpnetSE2 object.
mpnet2
mpnet1
Note
To run this function, you will require the Deep Learning Toolbox™.
example
collapse all
This example uses:
Create an mpnetSE2 object with default properties.
data_1 = mpnetSE2
data_1 = mpnetSE2 with properties: StateBounds: [3x2 double] LossWeights: [1 1 1] EncodingSize: [10 10] NumInputs: 108 NumOutputs: 4 Network: [1x1 dlnetwork]
Create a copy of the first instance of the mpnetSE2 object.
data_2 = copy(data_1);
Verify that both the objects are the same by comparing their property values.
isequal(data_1,data_2)
ans = logical 1
MPNet object, specified as an mpnetSE2 object.
Copy of MPNet object, returned as an mpnetSE2 object.
Introduced in R2023b
predict
loss
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office