[]Trait tract_tensorflow::prelude::tract_data::internal::ToDim

pub trait ToDim {
    pub fn to_dim(&self) -> TDim;
}

Convenience trait to convert values to TDim.

Required methods

pub fn to_dim(&self) -> TDim

Convert self to a TDim.

Loading content...

Implementors

impl<'a> ToDim for &'a TDim

impl<I> ToDim for I where
    I: Clone + Into<TDim>, 

Loading content...