1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
//! This module contains enum representing menoh backend.
//!

#[derive(Clone, Copy)]
pub enum Backend {
    #[allow(non_camel_case_types)]
    MKL_DNN,
}

impl Backend {
    #[doc(hidden)]
    pub fn value(&self) -> &str {
        match *self {
            Backend::MKL_DNN => "mkldnn",
        }
    }
}