pub struct SoftmaxOp {
pub x: GpuRef<f32>,
pub y: GpuRef<f32>,
pub dims: [i32; 4],
pub alpha: f32,
pub beta: f32,
}Expand description
Capture-mode op for CudnnMsg::Softmax.
Fields§
§x: GpuRef<f32>§y: GpuRef<f32>§dims: [i32; 4]§alpha: f32§beta: f32Trait Implementations§
Auto Trait Implementations§
impl Freeze for SoftmaxOp
impl !RefUnwindSafe for SoftmaxOp
impl Send for SoftmaxOp
impl Sync for SoftmaxOp
impl Unpin for SoftmaxOp
impl UnsafeUnpin for SoftmaxOp
impl !UnwindSafe for SoftmaxOp
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