pub struct SoftmaxArgs<'a, T: Element, const N: usize> {
pub x: TensorRef<'a, T, N>,
pub y: TensorMut<'a, T, N>,
}Expand description
Args bundle for a softmax launch.
Fields§
§x: TensorRef<'a, T, N>Input tensor.
y: TensorMut<'a, T, N>Output tensor — same shape as input.
Auto Trait Implementations§
impl<'a, T, const N: usize> !UnwindSafe for SoftmaxArgs<'a, T, N>
impl<'a, T, const N: usize> Freeze for SoftmaxArgs<'a, T, N>
impl<'a, T, const N: usize> RefUnwindSafe for SoftmaxArgs<'a, T, N>where
T: RefUnwindSafe,
impl<'a, T, const N: usize> Send for SoftmaxArgs<'a, T, N>
impl<'a, T, const N: usize> Sync for SoftmaxArgs<'a, T, N>where
T: Sync,
impl<'a, T, const N: usize> Unpin for SoftmaxArgs<'a, T, N>
impl<'a, T, const N: usize> UnsafeUnpin for SoftmaxArgs<'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