[]Trait tract_tensorflow::prelude::tract_data::internal::tract_smallvec::ToSmallVec

pub trait ToSmallVec<A> where
    A: Array
{ pub fn to_smallvec(&self) -> SmallVec<A>; }

Convenience trait for constructing a SmallVec

Required methods

pub fn to_smallvec(&self) -> SmallVec<A>

Construct a new SmallVec from a slice.

Loading content...

Implementations on Foreign Types

impl<A> ToSmallVec<A> for [<A as Array>::Item] where
    A: Array,
    <A as Array>::Item: Copy

Loading content...

Implementors

Loading content...