concision_ext/
lib.rs

1/*
2    Appellation: concision-models <library>
3    Contrib: @FL03
4*/
5//! # concision-ext
6//!
7//! This library uses the [`concision`](https://docs.rs/concision) framework to implement a
8//! variety of additional machine learning models and layers.
9//!
10#![allow(clippy::module_inception, clippy::needless_doctest_main)]
11#![cfg_attr(not(feature = "std"), no_std)]
12
13#[cfg(feature = "alloc")]
14extern crate alloc;
15
16extern crate concision as cnc;
17
18#[cfg(feature = "attention")]
19pub use self::attention::prelude::*;
20
21#[cfg(feature = "attention")]
22pub mod attention;
23
24pub mod simple;
25
26pub mod prelude {
27    #[cfg(feature = "attention")]
28    pub use crate::attention::prelude::*;
29}