save_esn.m

来自「回声状态神经网络(ESN)是一种性能优异的递归神经网络」· M 代码 · 共 31 行

M
31
字号
function save_esn(esn, file_name, varargin)% SAVE_ESN save an Esn structure to disk. It's saved under the name% file_name. %% inputs: % esn - our Esn structure we want to save% file_name - a string containing the file we want % option - string containing further options that will be forwarded to% the matlab save instruction%% usages: % save_esn(our_trained_esn, 'esn_28_apr_2006', '-V6')% save_esn(our_trained_esn, 'esn_28_apr_2006')% Created April 30, 2006, D. Popovici% Copyright: Fraunhofer IAIS 2006 / Patent pendingif length(varargin) > 0    option = char(varargin{1}) ; else    option = '' ; endeval([file_name , '=' , 'esn ; '])eval(['save ',file_name,' ',file_name , ' ', option ])%TODO: check if file_name is a valid string, i.e. starts with a letter

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?