Listen, Attend and Spell (Chan et al., 2016) reads thousands of speech frames. A pyramidal encoder halves the time resolution at each layer, so the attention decoder works over a much shorter sequence.
Implement pyramid_length(T, layers), the length after the pyramidal reduction.
Divide the length by two to the power of the layer count, rounding up.
No results yet
Run your code to check it against the examples, or submit to run every test.