def allocate(self, shared_outputs=None):
        if self.outputs:
            return
        if self.owns_output:
            self.outputs = self.be.iobuf(self.out_shape, shared=shared_outputs,
                                         parallelism=self.parallelism)
Configure metamorphosis factory to use
dataset/ETHPy150Open NervanaSystems/neon/neon/layers/layer.py/Layer.allocate--crossover with--dataset/ETHPy150Open tuturto/pyherc/src/pyherc/test/builders/action.py/ActionFactoryBuilder.with_metamorphosis_factory