Skip to content

torch.bartlett_window API没有对应的转换代码 #832

@PlumBlossomMaid

Description

@PlumBlossomMaid

torch.bartlett_window API没有对应的转换代码

对于如下代码:

TPDF = torch.bartlett_window(
    time_size + 1, dtype=signal_scaled.dtype, device=signal_scaled.device
)

对应的转换方式应该为:

paddle.audio.functional.get_window("bartlett", win_length=time_size + 1, dtype=signal_scaled.dtype).to(signal_scaled)

但是当前版本的paconvert是不支持的:

[flitering.py:594] [Not Support] convert torch.bartlett_window to Paddle is not supported currently

希望可以添加paconvert对窗函数相关的支持。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions