

def propagate_parallelism(self, p):
    for l in self.layers:
        if isinstance(l, LayerContainer):
            l.parallelism = p
            l.propagate_parallelism(p)
            t = l.get_terminal()
            p = (t[0].parallelism if isinstance(t, list) else t.parallelism)
        else:
            l.parallelism = (p if (t.parallelism == 'Unknown') else l.parallelism)
            p = l.parallelism

dataset/ETHPy150Open NervanaSystems/neon/neon/layers/container.py LayerContainer.propagate_parallelism/VarMisuse@87/103 `l`->`t`