pub struct LinearViewLayoutLaunch { /* private fields */ }Implementations§
Source§impl LinearViewLayoutLaunch
impl LinearViewLayoutLaunch
Sourcepub fn new() -> Self
pub fn new() -> Self
Construct a linear layout from shapes, strides and vector size of the tensor
Sourcepub fn from_reference_shape(reference_shape: Shape) -> Self
pub fn from_reference_shape(reference_shape: Shape) -> Self
Construct a possibly broadcast linear layout from shapes/strides and a reference shape
Sourcepub fn from_reference_handle<R: Runtime>(reference: TensorBinding<R>) -> Self
pub fn from_reference_handle<R: Runtime>(reference: TensorBinding<R>) -> Self
Construct a possibly broadcast linear layout from a tensor handle and reference handle
Trait Implementations§
Source§impl Default for LinearViewLayoutLaunch
impl Default for LinearViewLayoutLaunch
Source§fn default() -> LinearViewLayoutLaunch
fn default() -> LinearViewLayoutLaunch
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LinearViewLayoutLaunch
impl RefUnwindSafe for LinearViewLayoutLaunch
impl Send for LinearViewLayoutLaunch
impl Sync for LinearViewLayoutLaunch
impl Unpin for LinearViewLayoutLaunch
impl UnsafeUnpin for LinearViewLayoutLaunch
impl UnwindSafe for LinearViewLayoutLaunch
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