gras 1.0.2

A Genetic Programming framework for Neural Architecture Search in Rust
Documentation
//! Training schemes for the step-race engine.
//!
//! Sourced from the engine's data-agnostic training contract. Sibling file
//! `trainer.rs` holds the core trait and context structures.

pub mod stream;
pub mod supervised;
pub mod trainer;

pub use flodl::Variable;
pub use supervised::TabularTrainer;
pub use trainer::{
    IntoBoxedTrainer, RunData, StepContext, StepEnv, StepReport, StreamShape, Trainer,
};

/// The loss-function signature, aliased for readability in the trait and
/// context.
pub type LossFn<'a> = &'a (
        dyn Fn(&flodl::Variable, &flodl::Variable) -> flodl::tensor::Result<flodl::Variable>
            + Send
            + Sync
    );