[−][src]Struct tract_linalg::frame::pack::Packer
Implementations
impl Packer
[src]
pub fn new(
k: usize,
nr: usize,
alignment: usize,
end_padding_record: usize
) -> Packer
[src]
k: usize,
nr: usize,
alignment: usize,
end_padding_record: usize
) -> Packer
pub fn alignment(&self) -> usize
[src]
pub fn len(&self, n: usize) -> usize
[src]
pub unsafe fn pack<'a, 'b>(
&self,
mut pb: impl BorrowMut<TensorView<'a>>,
b: impl Borrow<TensorView<'b>>,
k_axis: usize,
mn_axis: usize
)
[src]
&self,
mut pb: impl BorrowMut<TensorView<'a>>,
b: impl Borrow<TensorView<'b>>,
k_axis: usize,
mn_axis: usize
)
pub fn write_with_k_outer<'p, T: Copy + Debug>(
&self,
pb: &'p mut [T],
mn: usize
) -> KOutWriter<'p, T>
[src]
&self,
pb: &'p mut [T],
mn: usize
) -> KOutWriter<'p, T>
pub fn write_with_k_inner<'p, T: Copy + Debug>(
&self,
pb: &'p mut [T],
mn: usize
) -> KInWriter<'p, T>
[src]
&self,
pb: &'p mut [T],
mn: usize
) -> KInWriter<'p, T>
Trait Implementations
impl Clone for Packer
[src]
impl Debug for Packer
[src]
impl Eq for Packer
[src]
impl Hash for Packer
[src]
pub fn hash<H: Hasher>(&self, state: &mut H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<Packer> for Packer
[src]
impl StructuralEq for Packer
[src]
impl StructuralPartialEq for Packer
[src]
Auto Trait Implementations
impl RefUnwindSafe for Packer
[src]
impl Send for Packer
[src]
impl Sync for Packer
[src]
impl Unpin for Packer
[src]
impl UnwindSafe for Packer
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
pub fn __clone_box(&self, Private) -> *mut ()
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,