'Returns the list of all tensorflow variables used inside this block.'

def VariableList(self):

    variables = list(itertools.chain(itertools.chain.from_iterable((t.VariableList() for t in self._subblocks)), self._VariableList()))
    return variables
