NnfwIterator functions
[Base Neural Net functions]

Collaboration diagram for NnfwIterator functions:


Enumerations

enum  NnfwIteratorElementTypes

Functions

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)

Detailed Description

NnfwIterator is an encapsulation of vectors implemented in NNFW. They behaves like array, but you cannot use the indexing operator '[]', so, an appropriate function has been provided for accessing elements

Enumeration Type Documentation

enum NnfwIteratorElementTypes

enum of possible types inside NnfwIterator


Function Documentation

C_NNFW_API NnfwCluster* NnfwIteratorGetCluster ( NnfwIterator *  itera,
int  i 
)

Return the i-th position element

C_NNFW_API NnfwLinker* NnfwIteratorGetLinker ( NnfwIterator *  itera,
int  i 
)

Return the i-th position element

C_NNFW_API NnfwIteratorElementTypes NnfwIteratorGetType ( NnfwIterator *  itera,
int  i 
)

Return the type of element at i-th position

C_NNFW_API int NnfwIteratorIsCluster ( NnfwIterator *  itera,
int  i 
)

Return true is at i-th position there is a NnfwCluster

C_NNFW_API int NnfwIteratorIsLinker ( NnfwIterator *  itera,
int  i 
)

Return true is at i-th position there is a NnfwLinker

C_NNFW_API int NnfwIteratorSize ( NnfwIterator *  itera  ) 

Return the number of elements

BerliOS Developer Logo Valid XHTML 1.0 Transitional Valid CSS!