@Operator(group="signal") public final class Rfft2d extends PrimitiveOp implements Operand<java.lang.Object>
Computes the 2-dimensional discrete Fourier transform of a real-valued signal over the inner-most 2 dimensions of `input`.
Since the DFT of a real signal is Hermitian-symmetric, `signal.Rfft2d` only returns the `fft_length / 2 + 1` unique components of the FFT for the inner-most dimension of `output`: the zero-frequency term, followed by the `fft_length / 2` positive-frequency terms.
Along each axis `signal.Rfft2d` is computed on, if `fft_length` is smaller than the corresponding dimension of `input`, the dimension is cropped. If it is larger, the dimension is padded with zeros.
operation| Modifier and Type | Method | Description |
|---|---|---|
Output<java.lang.Object> |
asOutput() |
Returns the symbolic handle of a tensor.
|
static Rfft2d |
create(Scope scope,
Operand<java.lang.Float> input,
Operand<java.lang.Integer> fftLength) |
Factory method to create a class to wrap a new Rfft2d operation to the graph.
|
Output<?> |
output() |
A complex64 tensor of the same rank as `input`.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitequals, hashCode, toStringpublic static Rfft2d create(Scope scope, Operand<java.lang.Float> input, Operand<java.lang.Integer> fftLength)
scope - current graph scopeinput - A float32 tensor.fftLength - An int32 tensor of shape [2]. The FFT length for each dimension.public Output<?> output()
public Output<java.lang.Object> asOutput()
OperandInputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.
asOutput in interface Operand<java.lang.Object>OperationBuilder.addInput(Output)