從框架表示中重建信號。
用法
tf.signal.overlap_and_add(
signal, frame_step, name=None
)參數
-
signal一個 [..., 幀, frame_length]Tensor。所有維度都可能未知,並且排名必須至少為 2。 -
frame_step一個整數或標量Tensor表示重疊偏移。必須小於或等於frame_length。 -
name操作的可選名稱。
返回
-
形狀為
[..., output_size]的Tensor包含signal的 inner-most 二維的 overlap-added 幀。
拋出
-
ValueError如果signal的等級小於 2,或者frame_step不是標量整數。
添加形狀可能重疊的信號幀 [..., frames, frame_length] ,將後續幀偏移 frame_step 。結果張量的形狀為[..., output_size],其中
output_size = (frames - 1) * frame_step + frame_length
相關用法
- Python tf.signal.frame用法及代碼示例
- Python tf.signal.linear_to_mel_weight_matrix用法及代碼示例
- Python tf.signal.fftshift用法及代碼示例
- Python tf.signal.inverse_mdct用法及代碼示例
- Python tf.signal.mfccs_from_log_mel_spectrograms用法及代碼示例
- Python tf.signal.ifftshift用法及代碼示例
- Python tf.signal.inverse_stft用法及代碼示例
- Python tf.size用法及代碼示例
- Python tf.summary.scalar用法及代碼示例
- Python tf.strings.substr用法及代碼示例
- Python tf.strings.reduce_join用法及代碼示例
- Python tf.sparse.cross用法及代碼示例
- Python tf.sparse.mask用法及代碼示例
- Python tf.strings.regex_full_match用法及代碼示例
- Python tf.sparse.split用法及代碼示例
- Python tf.strings.regex_replace用法及代碼示例
- Python tf.strings.length用法及代碼示例
- Python tf.strided_slice用法及代碼示例
- Python tf.sparse.to_dense用法及代碼示例
- Python tf.strings.bytes_split用法及代碼示例
注:本文由純淨天空篩選整理自tensorflow.org大神的英文原創作品 tf.signal.overlap_and_add。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。
