'Args:
shapes (list[list]): a list of fully-sepcified shapes.'

def __init__(self, shapes):

    self.shapes = shapes
    logger.warn('Using    dummy    input    for    debug!')
    def fn():
        tlist = []
        ctx = get_current_tower_context()
        assert (ctx is not None)
        assert (len(self.shapes) == len(self._desc))
        for (idx, p) in enumerate(self._desc):
            tlist.append(tf.constant(0, dtype=p.type, name='dummy-{}-{}'.format(p.name, ctx.index), shape=self.shapes[idx]))
        return tlist
    super(DummyConstantInput, self).__init__(fn)
