kymatio / murenn

Multi-Resolution Neural Networks
MIT License
11 stars 1 forks source link

ENH `MuReNNDirect.to_conv1d()` #56

Closed xir4n closed 3 months ago

xir4n commented 3 months ago

What's Changed:

  1. Added a new feature to_conv1d as described in #45.
  2. MuReNNDirect now supports a variable number of Conv1d filters per scale. To specify the number of filters for each scale, use a list or dictionary instead of an integer.
  3. The Conv1d kernel sizes in MuReNNDirect are no longer equal to the T; they are now equal to T * Q[j] where Q[j] is the number of filters per octave at octave j.
  4. Added J_phi to specify the number of levels of downsampling in MuReNNDirect.
  5. The output tensor shape of MuReNNDirect has been changed from a 5-dimensional tensor with shape (B, C, Q, J, T) to a 4-dimensional tensor with shape (B, C, sum(Q_j), T//2**J_phi). This is a breaking change.
  6. alternate_gh is now false
lostanlen commented 3 months ago

Another breaking change is that MuReNNDirect now uses alternate_gh=False. @xir4n says it's better-conditioned in terms of frame bounds, particularly when the input length is not a power of two.

xir4n commented 3 months ago

remove properties, conflict revolved