Skip to content

Concerns about Applying stride=2 in CausalConv and Padding Strategy for ASR #9883

Answered by scarecrow1123
raman-r-4978 asked this question in Q&A
Discussion options

You must be logged in to vote

It just moves the kernel by 2 instead of 1.

the Test 2 scenario isn't causal because it allows access to future information.

@VahidooX 's point still holds good with Test 2 @raman-r-4978 . One way to explain your example is that, for inference, every alternate input frame has to wait till the next frame is arrived. Hence 2 is held till 3 arrives for further processing. So in your example of Second window [1, 2, 3] , 3 is the current frame and not future frame. With causal convolutions, the current input is always at the right end. When 2 was the current frame in the previous step, there was no real output.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@raman-r-4978
Comment options

@scarecrow1123
Comment options

Answer selected by VahidooX
@VahidooX
Comment options

@raman-r-4978
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants