[]Type Definition tract_tensorflow::prelude::TVec

type TVec<T> = SmallVec<[T; 4]>;

A Smallvec instantiation with 4 embeddable values.

Used about everywhere in tract, for node inputs and outputs, or tensor dimensions.

Trait Implementations

impl<'a> TryFrom<&'a TensorShapeProto> for TVec<isize>[src]

type Error = TractError

The type returned in the event of a conversion error.

impl<'a> TryFrom<&'a TensorShapeProto> for TVec<usize>[src]

type Error = TractError

The type returned in the event of a conversion error.