pub struct PermutedLayoutLaunch { /* private fields */ }Implementations§
Source§impl PermutedLayoutLaunch
impl PermutedLayoutLaunch
Sourcepub fn from_reference_shape(reference_shape: Shape) -> Self
pub fn from_reference_shape(reference_shape: Shape) -> Self
Create a new permuted layout for a possibly broadcast tensor, with a reference shape to be broadcast to.
pub fn from_reference_handle<R: Runtime>( reference_handle: TensorBinding<R>, ) -> Self
Trait Implementations§
Source§impl Default for PermutedLayoutLaunch
impl Default for PermutedLayoutLaunch
Source§fn default() -> PermutedLayoutLaunch
fn default() -> PermutedLayoutLaunch
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PermutedLayoutLaunch
impl RefUnwindSafe for PermutedLayoutLaunch
impl Send for PermutedLayoutLaunch
impl Sync for PermutedLayoutLaunch
impl Unpin for PermutedLayoutLaunch
impl UnsafeUnpin for PermutedLayoutLaunch
impl UnwindSafe for PermutedLayoutLaunch
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