from torch import nn


class DataParallelPassthrough(nn.DataParallel):

    def __getattr__(self, name):
        try:
            return super(DataParallelPassthrough, self).__getattr__(name)
        except AttributeError:
            return getattr(self.module, name)

92b451f75663f7018e0eb020c585e9d4006ec265
<mask token>

<mask token>


class DataParallelPassthrough(nn.DataParallel):
    <mask token>

<mask token>


class DataParallelPassthrough(nn.DataParallel):

    def __getattr__(self, name):
        try:
            return super(DataParallelPassthrough, self).__getattr__(name)
        except AttributeError:
            return getattr(self.module, name)

from torch import nn


class DataParallelPassthrough(nn.DataParallel):

    def __getattr__(self, name):
        try:
            return super(DataParallelPassthrough, self).__getattr__(name)
        except AttributeError:
            return getattr(self.module, name)
