Skip to content

Commit

Permalink
Adding basic RNN and GRU implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
xubaiwang committed Jun 25, 2023
1 parent 780b347 commit 83053b1
Show file tree
Hide file tree
Showing 2 changed files with 711 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/nn/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@ mod batchnorm2d;
mod bias2d;
#[cfg(feature = "nightly")]
mod conv;
#[cfg(feature = "nightly")]
mod rec;
mod convtrans;
mod dropout;
mod ema;
Expand Down Expand Up @@ -284,6 +286,10 @@ pub mod builders {
pub use super::dropout::{Dropout, DropoutOneIn};
pub use super::embedding::builder::Embedding;
#[cfg(feature = "nightly")]
pub use super::rec::builder::RNN;
#[cfg(feature = "nightly")]
pub use super::rec::builder::GRU;
#[cfg(feature = "nightly")]
pub use super::flatten::Flatten2D;
pub use super::generalized_residual::GeneralizedResidual;
pub use super::layer_norm::builder::LayerNorm1D;
Expand Down
Loading

0 comments on commit 83053b1

Please sign in to comment.