pub struct ActivationOp {
pub kind: ActivationKind,
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::Activation.
Fields§
§kind: ActivationKind§x: GpuRef<f32>§y: GpuRef<f32>§dims: [i32; 4]§alpha: f32§beta: f32Trait Implementations§
Source§impl GraphOpRecord for ActivationOp
impl GraphOpRecord for ActivationOp
Auto Trait Implementations§
impl Freeze for ActivationOp
impl !RefUnwindSafe for ActivationOp
impl Send for ActivationOp
impl Sync for ActivationOp
impl Unpin for ActivationOp
impl UnsafeUnpin for ActivationOp
impl !UnwindSafe for ActivationOp
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