def __init__(self, attr, nm=None): store_attr('attr,nm')
def __init__(self, train_aug, valid_aug): store_attr()
def __init__(self, pool_mode='concat'): store_attr() self.pooler = _pooler[pool_mode]
def __init__(self, lib_path: Path = Path('.'), **kwargs): store_attr() super().__init__(**kwargs)
def __init__(self, f, start, end): store_attr('f,start,end') def __call__(self, pos): return self.f(self.start, self.end, pos)
def __init__(self, items, x_tfm=None, y_tfm=None): store_attr()
def __init__(self, x_tfm, y_tfm): store_attr()
def __init__(self, device_to, device_from=torch.device('cpu')): store_attr('device_to,device_from')