mirror of
https://github.com/huggingface/candle.git
synced 2025-06-19 19:58:35 +00:00
[nn] Move the Embedding and Activation parts. (#116)
* Share the Embedding and Activation parts. * Tweak some activations.
This commit is contained in:
@ -1,5 +1,11 @@
|
||||
// For now this crate shares its error type with candle-core. We may introduce some separate
|
||||
// error type if needed or add some specialized cases on the candle-core side.
|
||||
mod activation;
|
||||
mod embedding;
|
||||
mod layer_norm;
|
||||
mod linear;
|
||||
|
||||
pub use activation::Activation;
|
||||
pub use embedding::Embedding;
|
||||
pub use layer_norm::LayerNorm;
|
||||
pub use linear::Linear;
|
||||
|
Reference in New Issue
Block a user