pub struct LazyOuterProductLayout {
pub base_dims: Vec<usize>,
pub output_strides: Vec<isize>,
}Expand description
Storage layout for a lazily ordered outer product.
Returned by plan_lazy_outer_product. The caller allocates a dense
column-major base of base_dims, fills it through a
destination descriptor over that base with the logical output dims and
output_strides at offset zero (for example with
broadcast_mul_into_uninit and the original axis maps), and then exposes
the result as a strided view with those same dims and strides.
Fields§
§base_dims: Vec<usize>Column-major extents of the dense base allocation.
output_strides: Vec<isize>Strides, in base elements, of the logical output axes over the base.
Trait Implementations§
Source§impl Clone for LazyOuterProductLayout
impl Clone for LazyOuterProductLayout
Source§fn clone(&self) -> LazyOuterProductLayout
fn clone(&self) -> LazyOuterProductLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LazyOuterProductLayout
impl Debug for LazyOuterProductLayout
impl Eq for LazyOuterProductLayout
Source§impl PartialEq for LazyOuterProductLayout
impl PartialEq for LazyOuterProductLayout
impl StructuralPartialEq for LazyOuterProductLayout
Auto Trait Implementations§
impl Freeze for LazyOuterProductLayout
impl RefUnwindSafe for LazyOuterProductLayout
impl Send for LazyOuterProductLayout
impl Sync for LazyOuterProductLayout
impl Unpin for LazyOuterProductLayout
impl UnsafeUnpin for LazyOuterProductLayout
impl UnwindSafe for LazyOuterProductLayout
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more