#![warn(clippy::all, clippy::pedantic)]
#![allow(
clippy::type_complexity,
clippy::many_single_char_names,
clippy::cast_possible_truncation,
clippy::similar_names,
clippy::cast_precision_loss,
clippy::unused_async,
clippy::unnecessary_cast,
clippy::too_many_lines,
clippy::manual_slice_size_calculation,
clippy::struct_field_names,
clippy::cast_lossless,
clippy::excessive_precision,
clippy::approx_constant
)]
#![deny(clippy::nursery, unused_must_use)]
#![forbid(unsafe_op_in_unsafe_fn)]
#![forbid(missing_docs)]
#![no_std]
#[cfg(feature = "alloc")]
extern crate alloc;
#[cfg(feature = "std")]
extern crate std;
pub mod macros;
pub mod approx;
pub mod backend;
pub mod nn;
pub mod prelude {
pub use crate::{
backend::{get_backend, set_backend, Backend},
nn::tensors::{Flatten, TensorOps},
macros::{Dataset, test::TestEval, Context, adapt_lr, decay_lr},
static_model,
};
}