creates a 'avgPool' 'citolayer' object that is used by create_architecture
.
Arguments
- kernel_size
(int or tuple) size of the kernel in this layer. Use a tuple if the kernel size isn't equal in all dimensions
- stride
(int or tuple) stride of the kernel in this layer. NULL sets the stride equal to the kernel size. Use a tuple if the stride isn't equal in all dimensions
- padding
(int or tuple) zero-padding added to both sides of the input. Use a tuple if the padding isn't equal in all dimensions
Details
This function creates a 'avgPool' 'citolayer' object that is passed to the create_architecture
function.
The parameters that aren't assigned here (and are therefore still NULL) are filled with the default values passed to create_architecture
.