Class ov::op::v15::STFT#

class STFT : public ov::op::Op#

An operation STFT that computes the Short Time Fourier Transform.

Public Functions

STFT(const Output<Node> &data, const Output<Node> &window, const Output<Node> &frame_size, const Output<Node> &frame_step, const bool transpose_frames)#

Constructs a STFT operation.

Parameters:
  • dataInput data

  • window – Window to perform STFT

  • frame_size – Scalar value representing the size of Fourier Transform

  • frame_step – The distance (number of samples) between successive window frames

  • transpose_frames – Flag to set output shape layout. If true the frames dimension is at out_shape[2], otherwise it is at out_shape[1].

virtual void validate_and_infer_types() override#

Verifies that attributes and inputs are consistent and computes output shapes and element types. Must be implemented by concrete child classes so that it can be run any number of times.

Throws if the node is invalid.