MATLAB 帮助中心
Create deep copy of mpnetSE2 object
mpnetSE2
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: [3×2 double] LossWeights: [1 1 1] EncodingSize: [10 10] NumInputs: 108 NumOutputs: 4 Network: [1×1 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.
expand all
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.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处