ComputeLibrary icon indicating copy to clipboard operation
ComputeLibrary copied to clipboard

Group Convolution and batch processing

Open mkamrao opened this issue 9 years ago • 1 comments

Hello

I am trying to implement a neural n/w (similar to Alexnet) using the Convolution layer APIs for ARM Neon. Does the APIs in the Compute lib support Grouped Convolution and batch processing? If so, can you clarify how to configure for grouped convolution and batch processing using the API. Thank you.

Kamrao

mkamrao avatar Apr 13 '17 09:04 mkamrao

Hello @mkamrao,

The library's Tensor object supports up to 6 dimensions, thus it does support batch processing (3D batch space) for the CNN layers. If you define a TensorShape as:

TensorShape shape(16 /* width */,16 /* height */,64 /* feature maps */,10 /* batches */);

you will have a tensor with 10 batches. Grouped convolution is not yet supported in the current release but we are working on it.

Thanks

GeorgeARM avatar Apr 13 '17 11:04 GeorgeARM