[−]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.
pub fn try_from(t: &'a TensorShapeProto) -> TractResult<TVec<isize>>
[src]
impl<'a> TryFrom<&'a TensorShapeProto> for TVec<usize>
[src]
type Error = TractError
The type returned in the event of a conversion error.