def nested_str(self, level=0):
        padstr = '\n' + '  '*level
        ss = '  ' * level + self.classnm + padstr
        ss += padstr.join([l.nested_str(level+1) for l in self.layers])
        return ss
dataset/ETHPy150Open NervanaSystems/neon/neon/layers/container.py/LayerContainer.nested_str/original