Dot Matrix Linker
[Linker functions]

Collaboration diagram for Dot Matrix Linker:


Functions

C_NNFW_API NnfwLinker * NnfwLinkerCreateDot (NnfwCluster *from, NnfwCluster *to)
C_NNFW_API void NnfwDotLinkerSetWeights (NnfwLinker *link, Real *matrix)
C_NNFW_API void NnfwDotLinkerSetWeight (NnfwLinker *link, unsigned int from, unsigned int to, Real w)
C_NNFW_API RealNnfwDotLinkerWeights (NnfwLinker *)
C_NNFW_API Real NnfwDotLinkerWeight (NnfwLinker *, unsigned int from, unsigned int to)
C_NNFW_API int NnfwDotLinkerRows (NnfwLinker *)
C_NNFW_API int NnfwDotLinkerCols (NnfwLinker *)

Function Documentation

C_NNFW_API int NnfwDotLinkerCols ( NnfwLinker *   ) 

return the number of columns of weight matrix

C_NNFW_API int NnfwDotLinkerRows ( NnfwLinker *   ) 

return the number of row of weight matrix

C_NNFW_API void NnfwDotLinkerSetWeight ( NnfwLinker *  link,
unsigned int  from,
unsigned int  to,
Real  w 
)

Set a single weight from neuron 'from' to neuron 'to'

C_NNFW_API void NnfwDotLinkerSetWeights ( NnfwLinker *  link,
Real matrix 
)

Set the weight matrix

Parameters:
matrix is an array of Real containing a matrix in row-major convention

C_NNFW_API Real NnfwDotLinkerWeight ( NnfwLinker *  ,
unsigned int  from,
unsigned int  to 
)

Return the weight of connection between 'from' and 'to' neurons

C_NNFW_API Real* NnfwDotLinkerWeights ( NnfwLinker *   ) 

Return the weight matrix in row-major convention

C_NNFW_API NnfwLinker* NnfwLinkerCreateDot ( NnfwCluster *  from,
NnfwCluster *  to 
)

Create a Dot Linker

BerliOS Developer Logo Valid XHTML 1.0 Transitional Valid CSS!