dlarray作用
转化为Deep learning array
将一个类型为single或double或logical的普通array,转换为一个带数据格式标签的,特定用于深度学习网络的对象
% Example 3:
% % Create a dlarray with random data and no format and then a
% % copy of it with format 'BCSS'.
% Z1 = dlarray(randn(32,3,24,24));
% Z2 = dlarray(Z1,'BCSS');
% % Output: Z2 = 24(S) x 24(S) x 3(C) x 32(B) dlarray double
%