Skip to content

Commit

Permalink
fix: remove stride and padding as supported parameters for conv1d
Browse files Browse the repository at this point in the history
  • Loading branch information
julianhoever committed Sep 8, 2023
1 parent 2b0da94 commit 05b57d1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions elasticai/creator/nn/fixed_point/conv1d/layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ def __init__(
out_channels: int,
signal_length: int,
kernel_size: int | tuple[int],
stride: int | tuple[int] = 1,
padding: int | tuple[int] = 0,
bias: bool = True,
device: Any = None,
) -> None:
Expand All @@ -33,8 +31,6 @@ def __init__(
in_channels=in_channels,
out_channels=out_channels,
kernel_size=kernel_size,
stride=stride,
padding=padding,
bias=bias,
device=device,
)
Expand Down Expand Up @@ -96,8 +92,6 @@ def __init__(
bn_eps: float = 1e-5,
bn_momentum: float = 0.1,
bn_affine: bool = True,
stride: int | tuple[int] = 1,
padding: int | tuple[int] = 0,
bias: bool = True,
device: Any = None,
) -> None:
Expand All @@ -110,8 +104,6 @@ def __init__(
in_channels=in_channels,
out_channels=out_channels,
kernel_size=kernel_size,
stride=stride,
padding=padding,
bias=bias,
device=device,
)
Expand Down

0 comments on commit 05b57d1

Please sign in to comment.