pub struct ActivationRequest {
pub kind: ActivationKind,
pub x: GpuRef<f32>,
pub y: GpuRef<f32>,
pub dims: [i32; 4],
pub alpha: f32,
pub beta: f32,
pub reply: Sender<Result<(), GpuError>>,
}Expand description
Legacy F2 Activation request.
Fields§
§kind: ActivationKind§x: GpuRef<f32>§y: GpuRef<f32>§dims: [i32; 4]§alpha: f32§beta: f32§reply: Sender<Result<(), GpuError>>Auto Trait Implementations§
impl Freeze for ActivationRequest
impl !RefUnwindSafe for ActivationRequest
impl Send for ActivationRequest
impl Sync for ActivationRequest
impl Unpin for ActivationRequest
impl UnsafeUnpin for ActivationRequest
impl !UnwindSafe for ActivationRequest
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