

def allocate(self, shared_outputs=None):
    if (self.outputs is None):
        self.outputs = self.be.iobuf(self.out_shape, shared=shared_outputs, parallelism=self.parallelism)
    for l in self.layers:
        l.allocate(shared_outputs=self.outputs)

dataset/ETHPy150Open NervanaSystems/neon/neon/layers/container.py MergeSum.allocate/original