Trait dfdx::nn::BuildModule
source · pub trait BuildModule<D: Device<E>, E: Dtype>: Sized + TensorCollection<E, D, To<E, D> = Self> {
// Provided methods
fn build(device: &D) -> Self { ... }
fn try_build(device: &D) -> Result<Self, D::Err> { ... }
}
Expand description
Something that can be built. Related to super::BuildOnDevice