[][src]Struct tract_kaldi::model::Kaldi

pub struct Kaldi {
    pub op_register: KaldiOpRegister,
}

Fields

op_register: KaldiOpRegister

Trait Implementations

impl Default for Kaldi[src]

impl Clone for Kaldi[src]

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

Performs copy-assignment from source. Read more

impl Framework<KaldiProtoModel> for Kaldi[src]

fn proto_model_for_path<impl AsRef>(
    &self,
    p: impl AsRef
) -> Result<ProtoModel, TractError> where
    impl AsRef: AsRef<Path>, 
[src]

Read a proto model from a filename.

fn model_for_read(
    &self,
    r: &mut dyn Read
) -> Result<ModelImpl<TensorFact, Box<dyn InferenceOp + 'static>>, TractError>
[src]

Read a model from a reader

fn model_for_path<impl AsRef>(
    &self,
    p: impl AsRef
) -> Result<ModelImpl<TensorFact, Box<dyn InferenceOp + 'static>>, TractError> where
    impl AsRef: AsRef<Path>, 
[src]

Build a model from a filename.

Auto Trait Implementations

impl Sync for Kaldi

impl Unpin for Kaldi

impl Send for Kaldi

impl UnwindSafe for Kaldi

impl RefUnwindSafe for Kaldi

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Clone for T where
    T: Clone
[src]

impl<T> Downcast for T where
    T: Any