I am implementing nn.DataParallel class in code and i encapsulate all my models in this class. It gives an error ambiguous error.
Class Code