MemSaveConv2d¶
- class memsave_torch.nn.MemSaveConv2d(in_channels: int, out_channels: int, kernel_size, stride=1, padding=0, dilation=1, groups: int = 1, bias: bool = True, padding_mode: str = 'zeros', device=None, dtype=None)¶
MemSaveConv2d.
Inits a Conv2d layer with the given params.
- Parameters:
in_channels – in_channels
out_channels – out_channels
kernel_size – kernel_size
stride – stride
padding – padding
dilation – dilation
groups – groups
bias – bias
padding_mode – padding_mode
device – device
dtype – dtype
Hint
The usage is the same as torch.nn.Conv2d
For usage examples, please refer to the linked torch documentation