Type Alias tract_hir::internal::TVec

source ·
pub type TVec<T> = SmallVec<[T; 4]>;
Expand description

A Smallvec instantiation with 4 embeddable values.

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

Aliased Type§

struct TVec<T> { /* private fields */ }

Trait Implementations§

source§

impl IntoExp<ShapeFactoid> for TVec<TDim>

source§

fn bex(self) -> Exp<ShapeFactoid>

Converts the value to an Expression.