Available Commands

Backends

enum [anonymous]::__anonymous114

Values:

CCV_NNC_NO_BACKEND = 0
CCV_NNC_BACKEND_CPU_REF = 0x3d9883e5
CCV_NNC_BACKEND_GPU_CUDNN = 0x854b679a
CCV_NNC_BACKEND_CPU_OPT = 0x46deb194
CCV_NNC_BACKEND_GPU_REF = 0x5f19790a
CCV_NNC_BACKEND_GPU_CUBLAS = 0x9b8cfed
CCV_NNC_BACKEND_COUNT = 5

Commands

The list is available once you included <nnc/ccv_nnc_easy.h>. To do it the hard way, you should check the underlying implementation. These APIs can be called in places that requires ccv_nnc_cmd_t data structure.

CMD_NOOP()
CMD_CUSTOM_FORWARD(f)
CMD_EWSUM_FORWARD()
CMD_EWSUM_BACKWARD()
CMD_EWPROD_FORWARD()
CMD_EWPROD_BACKWARD()
CMD_EWDIV_FORWARD()
CMD_EWDIV_BACKWARD()
CMD_EWEXP_FORWARD()
CMD_EWEXP_BACKWARD()
CMD_EWLOG_FORWARD()
CMD_EWLOG_BACKWARD()
CMD_EWSQRT_FORWARD()
CMD_EWSQRT_BACKWARD()
CMD_MAX_POOL_FORWARD(rows, cols)
CMD_MAX_POOL_BACKWARD(rows, cols)
CMD_AVERAGE_POOL_FORWARD(rows, cols)
CMD_AVERAGE_POOL_BACKWARD(rows, cols)
CMD_CONVOLUTION_FORWARD(_groups, _count, ...)
CMD_CONVOLUTION_BACKWARD(_groups, _count, ...)
CMD_SGD_FORWARD(_rate, _decay, _momentum, _dampening)
CMD_SOFTMAX_FORWARD()
CMD_SOFTMAX_BACKWARD()
CMD_RANDOM_UNIFORM_FORWARD(_lb, _ub)
CMD_RANDOM_UNIFORM_BACKWARD(_lb, _ub)
CMD_CATEGORICAL_CROSSENTROPY_FORWARD()
CMD_CATEGORICAL_CROSSENTROPY_BACKWARD()
CMD_RELU_FORWARD()
CMD_RELU_BACKWARD()
CMD_DROPOUT_FORWARD(_p)
CMD_DROPOUT_BACKWARD(_p)
CMD_SOFTMAX_CROSSENTROPY_FORWARD()
CMD_SOFTMAX_CROSSENTROPY_BACKWARD()
CMD_REDUCE_SUM_FORWARD(...)
CMD_REDUCE_SUM_BACKWARD(...)
CMD_REDUCE_MAX_FORWARD(...)
CMD_REDUCE_MAX_BACKWARD(...)
CMD_BATCH_NORM_FORWARD(_epsilon, _is_test, _momentum, ...)
CMD_BATCH_NORM_BACKWARD(_epsilon, _is_test, _momentum, ...)
CMD_GEMM_FORWARD(_count)
CMD_GEMM_BACKWARD(_count)
CMD_ADD_FORWARD(...)
CMD_ADD_BACKWARD(...)
CMD_MUL_FORWARD(...)
CMD_MUL_BACKWARD(...)
CMD_SCALAR_MUL_FORWARD(...)
CMD_SCALAR_MUL_BACKWARD(...)
CMD_SET_FORWARD(_val)
CMD_SET_BACKWARD(_val)
CMD_DATA_TRANSFER_FORWARD()
CMD_DATA_TRANSFER_BACKWARD()
CMD_FORMAT_TRANSFORM_FORWARD()
CMD_FORMAT_TRANSFORM_BACKWARD()

Command Identifiers

enum [anonymous]::__anonymous115

Values:

CCV_NNC_NOOP = 0
CCV_NNC_CUSTOM_FORWARD = 2
CCV_NNC_CUSTOM_BACKWARD
CCV_NNC_GRAPH_FORWARD
CCV_NNC_GRAPH_BACKWARD
CCV_NNC_EWSUM_FORWARD = 0xe21a2c4c
CCV_NNC_EWSUM_BACKWARD = 0xe21a2c4d
CCV_NNC_EWPROD_FORWARD = 0xee07e8fe
CCV_NNC_EWPROD_BACKWARD = 0xee07e8ff
CCV_NNC_EWDIV_FORWARD = 0x1cd2fa18
CCV_NNC_EWDIV_BACKWARD = 0x1cd2fa19
CCV_NNC_EWEXP_FORWARD = 0xd784b170
CCV_NNC_EWEXP_BACKWARD = 0xd784b171
CCV_NNC_EWLOG_FORWARD = 0xf4191bf2
CCV_NNC_EWLOG_BACKWARD = 0xf4191bf3
CCV_NNC_EWSQRT_FORWARD = 0x8870a61e
CCV_NNC_EWSQRT_BACKWARD = 0x8870a61f
CCV_NNC_MAX_POOL_FORWARD = 0x7bec9360
CCV_NNC_MAX_POOL_BACKWARD = 0x7bec9361
CCV_NNC_AVERAGE_POOL_FORWARD = 0x51267ab8
CCV_NNC_AVERAGE_POOL_BACKWARD = 0x51267ab9
CCV_NNC_CONVOLUTION_FORWARD = 0x254d05f4
CCV_NNC_CONVOLUTION_BACKWARD = 0x254d05f5
CCV_NNC_SGD_FORWARD = 0xe650ad26
CCV_NNC_SGD_BACKWARD = 0xe650ad27
CCV_NNC_SOFTMAX_FORWARD = 0xc969a252
CCV_NNC_SOFTMAX_BACKWARD = 0xc969a253
CCV_NNC_RANDOM_UNIFORM_FORWARD = 0xa0cd1d5e
CCV_NNC_RANDOM_UNIFORM_BACKWARD = 0xa0cd1d5f
CCV_NNC_CATEGORICAL_CROSSENTROPY_FORWARD = 0x1eb327a2
CCV_NNC_CATEGORICAL_CROSSENTROPY_BACKWARD = 0x1eb327a3
CCV_NNC_RELU_FORWARD = 0xc51eaa80
CCV_NNC_RELU_BACKWARD = 0xc51eaa81
CCV_NNC_DROPOUT_FORWARD = 0x7f2dc3e4
CCV_NNC_DROPOUT_BACKWARD = 0x7f2dc3e5
CCV_NNC_SOFTMAX_CROSSENTROPY_FORWARD = 0xc26b7b5e
CCV_NNC_SOFTMAX_CROSSENTROPY_BACKWARD = 0xc26b7b5f
CCV_NNC_REDUCE_SUM_FORWARD = 0x52970f06
CCV_NNC_REDUCE_SUM_BACKWARD = 0x52970f07
CCV_NNC_REDUCE_MAX_FORWARD = 0x80f1a506
CCV_NNC_REDUCE_MAX_BACKWARD = 0x80f1a507
CCV_NNC_BATCH_NORM_FORWARD = 0x5419819c
CCV_NNC_BATCH_NORM_BACKWARD = 0x5419819d
CCV_NNC_GEMM_FORWARD = 0x7e87d00c
CCV_NNC_GEMM_BACKWARD = 0x7e87d00d
CCV_NNC_ADD_FORWARD = 0x58fb3664
CCV_NNC_ADD_BACKWARD = 0x58fb3665
CCV_NNC_MUL_FORWARD = 0x24721a46
CCV_NNC_MUL_BACKWARD = 0x24721a47
CCV_NNC_SCALAR_MUL_FORWARD = 0x8b4d86aa
CCV_NNC_SCALAR_MUL_BACKWARD = 0x8b4d86ab
CCV_NNC_SET_FORWARD = 0x2b070804
CCV_NNC_SET_BACKWARD = 0x2b070805
CCV_NNC_DATA_TRANSFER_FORWARD = 0x12d21e1a
CCV_NNC_DATA_TRANSFER_BACKWARD = 0x12d21e1b
CCV_NNC_FORMAT_TRANSFORM_FORWARD = 0xe4a2b192
CCV_NNC_FORMAT_TRANSFORM_BACKWARD = 0xe4a2b193
CCV_NNC_COUNT = 55