site/0.6/lib/ccv-convnet/index.html
ccv_convnet_t* ccv_convnet_new(int use_cwc_accel, ccv_size_t input, ccv_convnet_layer_param_t params[], int count);
Create a new (deep) convolutional network with specified parameters. ccv only supports convolutional layer (shared weights), max pooling layer, average pooling layer, full connect layer and local response normalization layer.
int ccv_convnet_verify(ccv_convnet_t* convnet, int output);
Verify the specified parameters make sense as a deep convolutional network. Return 0 if the given deep convolutional network making sense.
void ccv_convnet_supervised_train(ccv_convnet_t* convnet, ccv_array_t* categorizeds, ccv_array_t* tests, const char* filename, ccv_convnet_train_param_t params);
Start to train a deep convolutional network with given parameters and data.
void ccv_convnet_encode(ccv_convnet_t* convnet, ccv_dense_matrix_t **a, ccv_dense_matrix_t** b, int batch);
Use a convolutional network to encode an image into a compact representation.
void ccv_convnet_classify(ccv_convnet_t* convnet, ccv_dense_matrix_t **a, int symmetric, ccv_array_t** ranks, int tops, int batch);
Use a convolutional network to classify an image into categories.
ccv_convnet_t* ccv_convnet_read(int use_cwc_accel, const char* filename);
Read a convolutional network that persisted on the disk.
void ccv_convnet_write(ccv_convnet_t* convnet, const char* filename, ccv_convnet_write_param_t params);
Write a convolutional network to a disk.
void ccv_convnet_compact(ccv_convnet_t* convnet);
Free up temporary resources of a given convolutional network.
void ccv_convnet_free(ccv_convnet_t* convnet);
Free up the memory of a given convolutional network.