📄 cliptr_snn.m
字号:
function tr=cliptr_snn(tr,epochs)%CLIPTR_SNN Clip training record to the final number of epochs.%% Syntax%% tr = cliptr(tr,epochs)%% See also%% TR_STRUCT_SNN%indices = 1:(epochs+1);names = fieldnames(tr);for i=1:prod(size(names))% next two lines equals this two: % name = names{i};% eval(['tr.' name ' = tr.' name '(:,indices);']); cont = subsref(tr, substruct('.', names{i})); tr = subsasgn(tr, substruct('.', names{i}), cont(:,indices));end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -