We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can you maybe add this feature, please?
I think the main change would be
class ConvolutionalBlock(nn.Module): def __init__( self, dimensions: int, in_channels: int, out_channels: int, normalization: Optional[str] = None, kernel_size: int = 3, activation: Optional[str] = 'ReLU', preactivation: bool = False, padding: int = 0, padding_mode: str = 'zeros', dilation: Optional[int] = None, dropout: float = 0, ):
class ConvolutionalBlock(nn.Module): def __init__( self, dimensions: int, in_channels: int, out_channels: int, normalization: Optional[str] = None, kernel_size: int = Union[int, Sequence[int]], activation: Optional[str] = 'ReLU', preactivation: bool = False, padding: int = 0, padding_mode: str = 'zeros', dilation: Optional[int] = None, dropout: float = 0, ):
I can create a PR if you prefer this way.
The text was updated successfully, but these errors were encountered:
Hi, @kuangdai. Please feel free to open the PR!
Sorry, something went wrong.
If kernel_size can accept a tuple, doesn't it mean that padding should also accept a tuple?
kernel_size
padding
No branches or pull requests
Can you maybe add this feature, please?
I think the main change would be
I can create a PR if you prefer this way.
The text was updated successfully, but these errors were encountered: