Go to the source code of this file.
Typedefs | |
| typedef float | Real |
Enumerations | |
| enum | NnfwCopyLinkerModes |
| enum | NnfwIteratorElementTypes |
Functions | |
| C_NNFW_API NnfwCluster * | NnfwClusterCreate (const char *type, unsigned int numNeurons) |
| C_NNFW_API void | NnfwClusterUpdate (NnfwCluster *) |
| C_NNFW_API unsigned int | NnfwClusterNumNeurons (NnfwCluster *) |
| C_NNFW_API void | NnfwClusterSetAccumulate (NnfwCluster *, int accumulate) |
| C_NNFW_API int | NnfwClusterIsAccumulate (NnfwCluster *) |
| C_NNFW_API void | NnfwClusterRandomize (NnfwCluster *, Real min, Real max) |
| C_NNFW_API void | NnfwClusterSetInputs (NnfwCluster *, Real *ins) |
| C_NNFW_API void | NnfwClusterSetInput (NnfwCluster *, unsigned int neuron, Real value) |
| C_NNFW_API Real * | NnfwClusterInputs (NnfwCluster *) |
| C_NNFW_API NnfwCluster * | NnfwClusterClone (NnfwCluster *) |
| C_NNFW_API NnfwCluster * | NnfwClusterCreateSimple (unsigned int numNeurons) |
| C_NNFW_API NnfwCluster * | NnfwClusterCreateBiased (unsigned int numNeurons) |
| C_NNFW_API void | NnfwBiasedClusterSetBiases (NnfwCluster *, Real *outs) |
| C_NNFW_API void | NnfwBiasedClusterSetBias (NnfwCluster *, unsigned int neuron, Real value) |
| C_NNFW_API Real * | NnfwBiasedClusterBiases (NnfwCluster *) |
| C_NNFW_API Real | NnfwBiasedClusterBias (NnfwCluster *, unsigned int neuron) |
| C_NNFW_API NnfwCluster * | NnfwClusterCreateFake (unsigned int numNeurons) |
| C_NNFW_API NnfwLinker * | NnfwLinkerCreate (const char *type, NnfwCluster *from, NnfwCluster *to) |
| C_NNFW_API NnfwCluster * | NnfwLinkerFrom (NnfwLinker *) |
| C_NNFW_API NnfwCluster * | NnfwLinkerTo (NnfwLinker *) |
| C_NNFW_API void | NnfwLinkerUpdate (NnfwLinker *) |
| C_NNFW_API unsigned int | NnfwLinkerSize (NnfwLinker *) |
| C_NNFW_API void | NnfwLinkerRandomize (NnfwLinker *, Real min, Real max) |
| C_NNFW_API NnfwLinker * | NnfwLinkerClone (NnfwLinker *) |
| 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 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 * | NnfwLinkerCreateSparse (NnfwCluster *from, NnfwCluster *to) |
| C_NNFW_API void | NnfwSparseLinkerSetWeights (NnfwLinker *link, Real *matrix) |
| C_NNFW_API void | NnfwSparseLinkerSetWeight (NnfwLinker *link, unsigned int from, unsigned int to, Real w) |
| C_NNFW_API Real * | NnfwSparseLinkerWeights (NnfwLinker *) |
| C_NNFW_API Real | NnfwSparseLinkerWeight (NnfwLinker *, unsigned int from, unsigned int to) |
| C_NNFW_API int | NnfwSparseLinkerRows (NnfwLinker *) |
| C_NNFW_API int | NnfwSparseLinkerCols (NnfwLinker *) |
| C_NNFW_API void | NnfwSparseLinkerConnect (NnfwLinker *, unsigned int from, unsigned int to) |
| C_NNFW_API void | NnfwSparseLinkerConnectAll (NnfwLinker *) |
| C_NNFW_API void | NnfwSparseLinkerConnectRandom (NnfwLinker *, Real prob) |
| C_NNFW_API void | NnfwSparseLinkerDisconnect (NnfwLinker *, unsigned int from, unsigned int to) |
| C_NNFW_API void | NnfwSparseLinkerDisconnectAll (NnfwLinker *) |
| C_NNFW_API void | NnfwSparseLinkerDisconnectRandom (NnfwLinker *, Real prob) |
| C_NNFW_API int | NnfwSparseLinkerConnectionAt (NnfwLinker *, unsigned int from, unsigned int to) |
| C_NNFW_API NnfwLinker * | NnfwLinkerCreateCopy (NnfwCluster *from, NnfwCluster *to) |
| C_NNFW_API void | NnfwCopyLinkerSetMode (NnfwLinker *link, NnfwCopyLinkerModes mode) |
| C_NNFW_API NnfwCopyLinkerModes | NnfwCopyLinkerMode (NnfwLinker *link) |
| C_NNFW_API NnfwOutputFunction * | NnfwOutputFunctionCreate (const char *type) |
| C_NNFW_API NnfwOutputFunction * | NnfwOutputFunctionCreateIdentity () |
| C_NNFW_API NnfwOutputFunction * | NnfwOutputFunctionCreateLinear (Real m, Real b) |
| C_NNFW_API NnfwOutputFunction * | NnfwOutputFunctionCreateRamp (Real minX, Real maxX, Real minY, Real maxY) |
| C_NNFW_API NnfwOutputFunction * | NnfwOutputFunctionCreateStep (Real min, Real max, Real threshold) |
| C_NNFW_API NnfwOutputFunction * | NnfwOutputFunctionCreateSigmoid (Real l) |
| C_NNFW_API NnfwOutputFunction * | NnfwOutputFunctionCreateFakeSigmoid (Real l) |
| C_NNFW_API NnfwOutputFunction * | NnfwOutputFunctionCreateScaledSigmoid (Real l, Real min, Real max) |
| C_NNFW_API NnfwOutputFunction * | NnfwOutputFunctionCreateGaussian (Real centre, Real var, Real max) |
| C_NNFW_API NnfwBaseNeuralNet * | NnfwBaseNeuralNetCreate () |
| C_NNFW_API void | NnfwBaseNeuralNetAddInputCluster (NnfwBaseNeuralNet *net, NnfwCluster *cl) |
| C_NNFW_API void | NnfwBaseNeuralNetAddHiddenCluster (NnfwBaseNeuralNet *net, NnfwCluster *cl) |
| C_NNFW_API void | NnfwBaseNeuralNetAddOutputCluster (NnfwBaseNeuralNet *net, NnfwCluster *cl) |
| C_NNFW_API void | NnfwBaseNeuralNetRemoveCluster (NnfwBaseNeuralNet *net, NnfwCluster *cl) |
| C_NNFW_API void | NnfwBaseNeuralNetMarkAsInput (NnfwBaseNeuralNet *net, NnfwCluster *cl) |
| C_NNFW_API void | NnfwBaseNeuralNetMarkAsOutput (NnfwBaseNeuralNet *net, NnfwCluster *cl) |
| C_NNFW_API void | NnfwBaseNeuralNetMarkAsHidden (NnfwBaseNeuralNet *net, NnfwCluster *cl) |
| C_NNFW_API NnfwIterator * | NnfwBaseNeuralNetClusters (NnfwBaseNeuralNet *net) |
| C_NNFW_API NnfwIterator * | NnfwBaseNeuralNetInputClusters (NnfwBaseNeuralNet *net) |
| C_NNFW_API NnfwIterator * | NnfwBaseNeuralNetHiddenClusters (NnfwBaseNeuralNet *net) |
| C_NNFW_API NnfwIterator * | NnfwBaseNeuralNetOutputClusters (NnfwBaseNeuralNet *net) |
| C_NNFW_API void | NnfwBaseNeuralNetAddLinker (NnfwBaseNeuralNet *net, NnfwLinker *link) |
| C_NNFW_API void | NnfwBaseNeuralNetRemoveLinker (NnfwBaseNeuralNet *net, NnfwLinker *link) |
| C_NNFW_API NnfwIterator * | NnfwBaseNeuralNetLinkers (NnfwBaseNeuralNet *net) |
| C_NNFW_API NnfwIterator * | NnfwBaseNeuralNetOutGoingLinkers (NnfwBaseNeuralNet *net, NnfwCluster *cl) |
| C_NNFW_API NnfwIterator * | NnfwBaseNeuralNetIncomingLinkers (NnfwBaseNeuralNet *net, NnfwCluster *cl) |
| C_NNFW_API void | NnfwBaseNeuralNetSetOrder (NnfwBaseNeuralNet *net, int n,...) |
| C_NNFW_API NnfwIterator * | NnfwBaseNeuralNetOrder (NnfwBaseNeuralNet *net) |
| C_NNFW_API void | NnfwBaseNeuralNetStep (NnfwBaseNeuralNet *net) |
| C_NNFW_API void | NnfwBaseNeuralNetRandomize (NnfwBaseNeuralNet *net, Real min, Real max) |
| C_NNFW_API int | NnfwIteratorSize (NnfwIterator *itera) |
| C_NNFW_API NnfwIteratorElementTypes | NnfwIteratorGetType (NnfwIterator *itera, int i) |
| C_NNFW_API int | NnfwIteratorIsCluster (NnfwIterator *itera, int i) |
| C_NNFW_API int | NnfwIteratorIsLinker (NnfwIterator *itera, int i) |
| C_NNFW_API NnfwCluster * | NnfwIteratorGetCluster (NnfwIterator *itera, int i) |
| C_NNFW_API NnfwLinker * | NnfwIteratorGetLinker (NnfwIterator *itera, int i) |
| C_NNFW_API NnfwPatternSet * | NnfwPatternSetCreate (int size) |
| C_NNFW_API int | NnfwPatternSetSize (NnfwPatternSet *set) |
| C_NNFW_API void | NnfwPatternSetSetInputsOf (NnfwPatternSet *pset, int i, NnfwCluster *cl, Real *inputs) |
| C_NNFW_API void | NnfwPatternSetSetOutputsOf (NnfwPatternSet *pset, int i, NnfwCluster *cl, Real *outputs) |
| C_NNFW_API Real * | NnfwPatternSetGetInputsOf (NnfwPatternSet *pset, int i, NnfwCluster *cl) |
| C_NNFW_API Real * | NnfwPatternSetGetOutputsOf (NnfwPatternSet *pset, int i, NnfwCluster *cl) |
| C_NNFW_API NnfwLearningAlgorithm * | NnfwBackPropagationCreate (NnfwBaseNeuralNet *net, Real learn_rate, int n,...) |
| C_NNFW_API void | NnfwBackPropagationEnableMomentum (NnfwLearningAlgorithm *bp, int enable) |
| C_NNFW_API void | NnfwBackPropagationSetLearnRate (NnfwLearningAlgorithm *bp, Real rate) |
| C_NNFW_API void | NnfwBackPropagationSetMomentum (NnfwLearningAlgorithm *bp, Real mom) |
| C_NNFW_API Real | NnfwBackPropagationLearnRate (NnfwLearningAlgorithm *bp) |
| C_NNFW_API Real | NnfwBackPropagationMomentum (NnfwLearningAlgorithm *bp) |
| C_NNFW_API void | NnfwBackPropagationLearn (NnfwLearningAlgorithm *bp, NnfwPatternSet *pset) |
| C_NNFW_API Real | NnfwBackPropagationCalcMSE (NnfwLearningAlgorithm *bp, NnfwPatternSet *pset) |
| C_NNFW_API NnfwBaseNeuralNet * | NnfwLoadXML (const char *filename) |
| C_NNFW_API void | NnfwSaveXML (const char *filename, NnfwBaseNeuralNet *, int precision, const char *skipList) |
| typedef float Real |
Abstraction on the type of real numbers