Closed AntonXue closed 2 years ago
Hi @AntonXue , it's recommended to have a batch dimension for input tensor. If you change the input into:
x = torch.ones(1, 2) # 1 stands for batch size
it works for me.
Our code may assume the existence of the batch dimension, so there can be issues if the input doesn't have a batch dimension.
This works! Thank you very much for the help :)
I am trying to
compute_bounds
on some feedforward networks and getting an error. Here is a minimal failing example:Which gets the output:
Why is this the case, and what should I do differently?