def __init__(self, cell, shape='flatten', apply_to='output'): self._cell = cell self._shape = shape self._apply_to = apply_to