maxPool | R Documentation |
creates a 'maxPool' 'citolayer' object that is used by create_architecture
.
maxPool(kernel_size = NULL, stride = NULL, padding = NULL, dilation = NULL)
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 |
dilation |
(int or tuple) dilation of the kernel in this layer. Use a tuple if the dilation isn't equal in all dimensions |
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
.
S3 object of class "maxPool" "citolayer"
Armin Schenk
create_architecture
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.