Thanks for your reply Can we not define the filter size at runtime? Is that against standard pytorch practice?