

def configure(self, in_obj):
    '\n        Must receive a list of shapes for configuration (one for each pathway)\n        the shapes correspond to the layer_container attribute\n\n        Arguments:\n            in_obj: any object that has an out_shape (Layer) or shape (Tensor, dataset)\n        '
    config_layers = (self.layers if in_obj else self._layers)
    in_obj = (in_obj if in_obj else self.layers[0])
    super(Sequential, self).configure(in_obj)
    prev_layer = None
    for l in config_layers:
        in_obj = l.configure(in_obj)
        if (prev_layer is not None):
            prev_layer.set_next(l)
        prev_layer = l
    self.parallelism = in_obj.parallelism
    self.out_shape = in_obj.out_shape
    return in_obj

dataset/ETHPy150Open NervanaSystems/neon/neon/layers/container.py Sequential.configure/VarMisuse@115/246 `self`->`in_obj`