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