pub struct FFT2dOperation<'c> { /* private fields */ }
Expand description
A fft2d
operation. Performs FFT2D operation on the input..
Performs a batched complex 2D Fast Fourier Transform over the input. The complex input values are constructed from the corresponding values in the input_real and input_imag tensors. The resulting values in the output are split into the output_real and output_imag tensors. No normalization is applied on either the forward or inverse versions of the operation.
Implementations§
source§impl<'c> FFT2dOperation<'c>
impl<'c> FFT2dOperation<'c>
sourcepub fn as_operation(&self) -> &Operation<'c>
pub fn as_operation(&self) -> &Operation<'c>
Returns a generic operation.
sourcepub fn builder(
context: &'c Context,
location: Location<'c>
) -> FFT2dOperationBuilder<'c, Unset, Unset, Unset, Unset, Unset>
pub fn builder( context: &'c Context, location: Location<'c> ) -> FFT2dOperationBuilder<'c, Unset, Unset, Unset, Unset, Unset>
Creates a builder.
pub fn output_real(&self) -> Result<OperationResult<'c, '_>, Error>
pub fn output_imag(&self) -> Result<OperationResult<'c, '_>, Error>
pub fn input_real(&self) -> Result<Value<'c, '_>, Error>
pub fn input_imag(&self) -> Result<Value<'c, '_>, Error>
pub fn inverse(&self) -> Result<Attribute<'c>, Error>
pub fn set_inverse(&mut self, value: Attribute<'c>)
Trait Implementations§
source§impl<'c> From<FFT2dOperation<'c>> for Operation<'c>
impl<'c> From<FFT2dOperation<'c>> for Operation<'c>
source§fn from(operation: FFT2dOperation<'c>) -> Self
fn from(operation: FFT2dOperation<'c>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'c> RefUnwindSafe for FFT2dOperation<'c>
impl<'c> !Send for FFT2dOperation<'c>
impl<'c> !Sync for FFT2dOperation<'c>
impl<'c> Unpin for FFT2dOperation<'c>
impl<'c> UnwindSafe for FFT2dOperation<'c>
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