I used set_trace() in forward of every class, it does not call any set_trace() of other classes, only set_trace() of Top() is called, and gives the error as
RuntimeError: The expanded size of the tensor (3) must match the existing size (16) at non-singleton dimension 0.  Target sizes: [3, 15, 15].  Tensor sizes: [16, 15, 15]