Collaboration diagram for Norm Matrix Linker:
|
Functions | |
| C_NNFW_API NnfwLinker * | NnfwLinkerCreateNorm (NnfwCluster *from, NnfwCluster *to) |
| C_NNFW_API void | NnfwNormLinkerSetWeights (NnfwLinker *link, Real *matrix) |
| C_NNFW_API void | NnfwNormLinkerSetWeight (NnfwLinker *link, unsigned int from, unsigned int to, Real w) |
| C_NNFW_API Real * | NnfwNormLinkerWeights (NnfwLinker *) |
| C_NNFW_API Real | NnfwNormLinkerWeight (NnfwLinker *, unsigned int from, unsigned int to) |
| C_NNFW_API int | NnfwNormLinkerRows (NnfwLinker *) |
| C_NNFW_API int | NnfwNormLinkerCols (NnfwLinker *) |
| C_NNFW_API NnfwLinker* NnfwLinkerCreateNorm | ( | NnfwCluster * | from, | |
| NnfwCluster * | to | |||
| ) |
Create a Norm Linker
| C_NNFW_API int NnfwNormLinkerCols | ( | NnfwLinker * | ) |
return the number of columns of weight matrix
| C_NNFW_API int NnfwNormLinkerRows | ( | NnfwLinker * | ) |
return the number of row of weight matrix
| C_NNFW_API void NnfwNormLinkerSetWeight | ( | NnfwLinker * | link, | |
| unsigned int | from, | |||
| unsigned int | to, | |||
| Real | w | |||
| ) |
Set a single weight from neuron 'from' to neuron 'to'
| C_NNFW_API void NnfwNormLinkerSetWeights | ( | NnfwLinker * | link, | |
| Real * | matrix | |||
| ) |
Set the weight matrix
| matrix | is an array of Real containing a matrix in row-major convention |
| C_NNFW_API Real NnfwNormLinkerWeight | ( | NnfwLinker * | , | |
| unsigned int | from, | |||
| unsigned int | to | |||
| ) |
Return the weight of connection between 'from' and 'to' neurons
| C_NNFW_API Real* NnfwNormLinkerWeights | ( | NnfwLinker * | ) |
Return the weight matrix in row-major convention