-
Notifications
You must be signed in to change notification settings - Fork 732
[BC-Breaking] Drop pseudo complex support from spectrogram #1958
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BC-Breaking] Drop pseudo complex support from spectrogram #1958
Conversation
6e80017
to
3fdd4cb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Just need to address the docstring then we can merge it.
:attr:`center` is ``True``. Default: ``"reflect"`` | ||
onesided (bool, optional): controls whether to return half of results to | ||
avoid redundancy. Default: ``True`` | ||
return_complex (bool, optional): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return_complex (bool, optional): | |
return_complex (bool or None, optional): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here, None
is is not a valid input and only used to detect if user pass something, so in docstring, we will keep it as bool
.
:attr:`center` is ``True``. (Default: ``"reflect"``) | ||
onesided (bool, optional): controls whether to return half of results to | ||
avoid redundancy (Default: ``True``) | ||
return_complex (bool, optional): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return_complex (bool, optional): | |
return_complex (bool or None, optional): |
Co-authored-by: nateanl <nizhaoheng@gmail.com>
Following the plan #1337, this PR drops the support for pseudo complex type from
F.spectrogram
andT.Spectrogram
. It also deprecates the use ofreturn_complex
argument.