

def activate(self, X):
    if self.is_elementwise():
        raise Exception('No identity nodes allowed.')
    return self

dataset/ETHPy150Open sharadmv/deepx/deepx/nn/full.py Full.activate/VarMisuse@29/41 `X`->`self`