Struct leaf::layers::common::linear::LinearConfig [] [src]

pub struct LinearConfig {
    pub output_size: usize,
}

Specifies configuration parameters for a Linear Layer.

Fields

output_size

The number of output values

Trait Implementations

impl Into<LayerType> for LinearConfig

fn into(self) -> LayerType

Derived Implementations

impl Clone for LinearConfig

fn clone(&self) -> LinearConfig

1.0.0fn clone_from(&mut self, source: &Self)

impl Debug for LinearConfig

fn fmt(&self, __arg_0: &mut Formatter) -> Result