View source on GitHub
|
Reconstructs a signal from a framed representation.
tf.signal.overlap_and_add(
signal, frame_step, name=None
)
Adds potentially overlapping frames of a signal with shape
[..., frames, frame_length], offsetting subsequent frames by frame_step.
The resulting tensor has shape [..., output_size] where
output_size = (frames - 1) * frame_step + frame_length
signal
Tensor. All dimensions may be
unknown, and rank must be at least 2.
frame_step
Tensor denoting overlap offsets. Must be
less than or equal to frame_length.
name
Tensor with shape [..., output_size] containing the overlap-added
frames of signal's inner-most two dimensions.
ValueError
signal's rank is less than 2, or frame_step is not a
scalar integer.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2024-04-26 UTC.