pub struct IrfftDescriptor {
pub n: i32,
pub batch: i32,
pub element: ElementKind,
}Expand description
Descriptor for an IRFFT (complex-to-real) op.
Note: cuFFT cannot infer the output length n from the Hermitian-
half input alone (both 2 * (n/2) and 2 * (n/2) + 1 produce
inputs of length n/2 + 1). The descriptor carries n explicitly;
the input shape is then [batch, n/2 + 1] and output is
[batch, n].
Fields§
§n: i32Real output length. Input shape is [batch, n/2 + 1].
batch: i32Number of independent transforms in one launch.
element: ElementKindReal-side element type (output dtype) — F32 or F64.
Trait Implementations§
Source§impl Clone for IrfftDescriptor
impl Clone for IrfftDescriptor
Source§fn clone(&self) -> IrfftDescriptor
fn clone(&self) -> IrfftDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IrfftDescriptor
Auto Trait Implementations§
impl Freeze for IrfftDescriptor
impl RefUnwindSafe for IrfftDescriptor
impl Send for IrfftDescriptor
impl Sync for IrfftDescriptor
impl Unpin for IrfftDescriptor
impl UnsafeUnpin for IrfftDescriptor
impl UnwindSafe for IrfftDescriptor
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