eryon_surface/
lib.rs

1/*
2    Appellation: eryon-surface <library>
3    Contrib: @FL03
4*/
5//! This crate focuses on materializing the surface of the headspace. Each surface is a neural
6//! network that is dynamically configured using the vertices to define the input layer while
7//! the tonic or centroid defines the network's output. The hidden layers essentially fill in
8//! the remaining space in-between the input and output layers, using barycentric coordinates
9//! as "goalposts" to guide the network's learning process.
10//!
11#![allow(
12    clippy::module_inception,
13    clippy::needless_doctest_main,
14    clippy::upper_case_acronyms
15)]
16extern crate concision as cnc;
17extern crate eryon_core as eryon;
18
19pub use cnc::prelude::*;
20pub use cnc::{activate, nn, ops, params, traits, utils};
21
22#[doc(inline)]
23pub use self::{
24    error::*,
25    model::{SurfaceModel, SurfaceModelConfig},
26    network::*,
27    points::prelude::*,
28};
29
30#[macro_use]
31pub(crate) mod macros {
32    #[macro_use]
33    pub mod seal;
34}
35
36pub mod error;
37pub mod model;
38pub mod network;
39pub mod points;
40
41pub mod prelude {
42    #[doc(no_inline)]
43    pub use crate::error::*;
44    #[doc(no_inline)]
45    pub use crate::model::prelude::*;
46    #[doc(no_inline)]
47    pub use crate::network::*;
48    #[doc(no_inline)]
49    pub use crate::points::prelude::*;
50}