Skip to content

Commit

Permalink
make non-const conv1d available to stable rust
Browse files Browse the repository at this point in the history
  • Loading branch information
optman committed Jan 22, 2024
1 parent 2236d07 commit 89952a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions dfdx-core/src/tensor_ops/conv1d/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ pub trait TryConv1D<Stride, Padding, Dilation, Groups>: Sized {
) -> Result<Self::Convolved, Error>;
}

#[cfg(feature = "nightly")]
impl<
const KERNEL: usize,
const STRIDE: usize,
Expand Down
2 changes: 0 additions & 2 deletions dfdx-core/src/tensor_ops/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,9 +281,7 @@ pub use upscale2d::{
};
pub use var_to::VarTo;

#[cfg(feature = "nightly")]
mod conv1d;
#[cfg(feature = "nightly")]
pub use conv1d::TryConv1D;

#[cfg(feature = "nightly")]
Expand Down

0 comments on commit 89952a1

Please sign in to comment.