Add a Dropout layer (#676)

* Add a dropout layer.

* Add an actual layer.
This commit is contained in:
Laurent Mazare
2023-08-30 16:19:28 +01:00
committed by GitHub
parent ad8a62dbf5
commit 3159982a89
2 changed files with 36 additions and 0 deletions

View File

@ -23,6 +23,7 @@ pub use group_norm::{group_norm, GroupNorm};
pub use init::Init;
pub use layer_norm::{layer_norm, rms_norm, LayerNorm, LayerNormConfig, RmsNorm};
pub use linear::{linear, linear_no_bias, Linear};
pub use ops::Dropout;
pub use optim::{AdamW, ParamsAdamW, SGD};
pub use rnn::{lstm, LSTM, RNN};
pub use var_builder::VarBuilder;