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 Real * | NnfwDotLinkerWeights (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 *) |
| 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
| 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