[−]Trait tract_tensorflow::prelude::tract_data::internal::tract_smallvec::ToSmallVec
Convenience trait for constructing a SmallVec
Required methods
pub fn to_smallvec(&self) -> SmallVec<A>
Construct a new SmallVec
from a slice.
Implementations on Foreign Types
impl<A> ToSmallVec<A> for [<A as Array>::Item] where
A: Array,
<A as Array>::Item: Copy,
A: Array,
<A as Array>::Item: Copy,