iCub-main
Functions | Variables
saveNetwork.m File Reference

Go to the source code of this file.

Functions

 fprintf (fid,'\n')
 
 fprintf (fid, 'numInputNodes\t\t%d\n', uint8(szIW(2)))
 
 fprintf (fid, 'numHiddenNodes\t\t%d\n', uint8(szIW(1)))
 
 fprintf (fid, 'numOutputNodes\t\t%d\n', uint8(szLW(1)))
 

Variables

function saveNetwork(net) % Save the file 'network.ini' containing the network 'net' % in the proper format required by the ctrlLib framework. % % Copyright szIW =size(net.IW{1})
 
 szLW =size(net.LW{2,1})
 

Function Documentation

◆ fprintf() [1/4]

fprintf ( fid  ,
'numHiddenNodes\t\t%d\n ,
uint8(szIW(1))   
)

◆ fprintf() [2/4]

fprintf ( fid  ,
'numInputNodes\t\t%d\n ,
uint8(szIW(2))   
)

◆ fprintf() [3/4]

fprintf ( fid  ,
'numOutputNodes\t\t%d\n ,
uint8(szLW(1))   
)

◆ fprintf() [4/4]

fprintf ( fid  ,
'\n  
)

Variable Documentation

◆ szIW

function saveNetwork (net) % Save the file 'network.ini' containing the network 'net' % in the proper format required by the ctrlLib framework. % % Copyright szIW =size(net.IW{1})

Definition at line 11 of file saveNetwork.m.

◆ szLW

szLW =size(net.LW{2,1})

Definition at line 12 of file saveNetwork.m.