Struct leaf::layers::loss::negative_log_likelihood::NegativeLogLikelihoodConfig [] [src]

pub struct NegativeLogLikelihoodConfig {
    pub num_classes: usize,
}

Specifies configuration parameters for a NegativeLogLikelihood Layer.

Fields

num_classes

How many different classes can be classified.

Trait Implementations

impl Into<LayerType> for NegativeLogLikelihoodConfig

fn into(self) -> LayerType

Derived Implementations

impl Clone for NegativeLogLikelihoodConfig

fn clone(&self) -> NegativeLogLikelihoodConfig

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

impl Debug for NegativeLogLikelihoodConfig

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