pub struct RandomArgs<'a, T: Element, const N: usize> {
pub y: TensorMut<'a, T, N>,
}Expand description
Args bundle for Uniform / Normal (T = f32 | f64).
Fields§
§y: TensorMut<'a, T, N>Output tensor — written by cuRAND directly. Must be contiguous.
Auto Trait Implementations§
impl<'a, T, const N: usize> !UnwindSafe for RandomArgs<'a, T, N>
impl<'a, T, const N: usize> Freeze for RandomArgs<'a, T, N>
impl<'a, T, const N: usize> RefUnwindSafe for RandomArgs<'a, T, N>where
T: RefUnwindSafe,
impl<'a, T, const N: usize> Send for RandomArgs<'a, T, N>where
T: Send,
impl<'a, T, const N: usize> Sync for RandomArgs<'a, T, N>where
T: Sync,
impl<'a, T, const N: usize> Unpin for RandomArgs<'a, T, N>
impl<'a, T, const N: usize> UnsafeUnpin for RandomArgs<'a, T, N>
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