Solved by KFrank in post #2 
              
              
                Hi Umar! 

The problem is that nn.ReLU(out) constructs a ReLU object so 
that you then pass that ReLU object to conv_3. 
You want either: 
out = nn.ReLU() (out)
# or
out = nn.functional.relu (out)

(I’m a little surprised that nn.ReLU(out) itself doesn’t throw an 
error because in most cases your ou…