creates a 'maxPool' 'citolayer' object that is used by create_architecture
.
maxPool(kernel_size = NULL, stride = NULL, padding = NULL, dilation = NULL)
S3 object of class "maxPool" "citolayer"
(int or tuple) size of the kernel in this layer. Use a tuple if the kernel size isn't equal in all dimensions
(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
(int or tuple) zero-padding added to both sides of the input. Use a tuple if the padding isn't equal in all dimensions
(int or tuple) dilation of the kernel in this layer. Use a tuple if the dilation isn't equal in all dimensions
Armin Schenk
This function creates a 'maxPool' '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
.
create_architecture