Skip to content

Conversation

@vincentqb
Copy link
Contributor

  • Mention standard complex number in README, with functionals available.
  • Update formatting for torch.hann_window

@vincentqb vincentqb requested a review from jamarshon August 1, 2019 15:56
@vincentqb
Copy link
Contributor Author

@cpuhrsch @jamarshon -- thoughts?

* `Resample`: (channel, time) -> (channel, time)

Complex numbers are supported via tensors of dimension (..., 2), and provide `magphase` to convert such a tensor into its magnitude and phase, and also `complex_norm` and `angle`.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe "its magnitude through complex_norm and phase through angle."

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree we can simplify this. Let's only talk about complex_norm and angle then. How does that sound?

@jamarshon
Copy link
Contributor

Yes I think this is a good idea to mention the dimensions of complex tensors until we move to a better solution (dtype, etc.) #131 (comment)

@jamarshon jamarshon self-requested a review August 1, 2019 19:41
@cpuhrsch cpuhrsch merged commit 67f9f30 into pytorch:master Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants