Skip to content
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

When using slayer.block.cuba.Pool, input-output dimensions are not as expected. #293

Open
LjubicaCimesa opened this issue Mar 11, 2024 · 1 comment
Assignees
Labels
1-bug Something isn't working

Comments

@LjubicaCimesa
Copy link

Steps to reproduce the behavior:

  1. When I run this code
import torch
input = torch.randn(1,8,6,7,160)
CL= slayer.block.cuba.Pool(neuron_params, kernel_size =(2,2) , stride = 2, padding =0)
output = CL(input)
output.shape
  1. I get output of shape [1, 8, 3, 4, 160]

Expected behavior

After pooling, I expected to get the shape [1,8,3,3,160]

Environment (please complete the following information):

  • Device: Laptop MAC
  • OS: MAC Sonoma 14.3.1 (23D60)
  • Lava version [e.g. 0.5.0]
@PhilippPlank
Copy link
Contributor

Thank you for you question. @bamsumit Could you take a look at it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants