ClassificationModelTraitConst

Trait ClassificationModelTraitConst 

Source
pub trait ClassificationModelTraitConst: ModelTraitConst {
    // Required method
    fn as_raw_ClassificationModel(&self) -> *const c_void;

    // Provided method
    fn get_enable_softmax_post_processing(&self) -> Result<bool> { ... }
}
Expand description

Constant methods for crate::dnn::ClassificationModel

Required Methods§

Provided Methods§

Source

fn get_enable_softmax_post_processing(&self) -> Result<bool>

Get enable/disable softmax post processing option.

This option defaults to false, softmax post processing is not applied within the classify() function.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§