[−]Struct tract_onnx::prelude::tract_linalg::frame::PackB
Implementations
impl<T> PackB<T> where
T: Copy + Debug + Zero,
T: Copy + Debug + Zero,
pub fn new(k: usize, n: usize, nr: usize, alignment: usize) -> PackB<T>
pub fn alignment(&self) -> usize
pub fn len(&self) -> usize
pub fn pack(&self, pb: *mut T, b: *const T, rsb: isize, csb: isize)
pub fn write_packed_by_rows(&self, pb: &'p mut [T]) -> PackedWriter<'p, T>
Trait Implementations
impl<T> Clone for PackB<T> where
T: Clone + Copy + Zero,
T: Clone + Copy + Zero,
fn clone(&self) -> PackB<T>
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T> Debug for PackB<T> where
T: Copy + Debug + Zero,
T: Copy + Debug + Zero,
impl<T> Eq for PackB<T> where
T: Eq + Copy + Zero,
T: Eq + Copy + Zero,
impl<T> Hash for PackB<T> where
T: Copy + Zero,
T: Copy + Zero,
fn hash<H>(&self, state: &mut H) where
H: Hasher,
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T> PartialEq<PackB<T>> for PackB<T> where
T: PartialEq<T> + Copy + Zero,
T: PartialEq<T> + Copy + Zero,
Auto Trait Implementations
impl<T> RefUnwindSafe for PackB<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for PackB<T> where
T: Send,
T: Send,
impl<T> Sync for PackB<T> where
T: Sync,
T: Sync,
impl<T> Unpin for PackB<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for PackB<T> where
T: UnwindSafe,
T: UnwindSafe,
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,
fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> Downcast for T where
T: Any,
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>ⓘ
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Send + Sync + Any,
T: Send + Sync + Any,
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
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.
fn to_owned(&self) -> T
[src]
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.
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>,