

def get_description(self, **kwargs):
    desc = super(Multicost, self).get_description()
    costs = desc['config'].pop('costs')
    desc['config']['costs'] = []
    for cost in costs:
        desc['config']['costs'].append(cost.get_description())
    self._desc = desc
    return desc

dataset/ETHPy150Open NervanaSystems/neon/neon/layers/container.py Multicost.get_description/original