(self)
Closes the TF session.

    If the session was already closed, this is a no-op.
Closes the TF session.
Closes the TF session .
def close(self):
    """Closes the TF session.

    If the session was already closed, this is a no-op.
    """
    if self._initialized:
      self._model.close()
      self._initialized = False
def close ( self ) : if self . _initialized : self . _model . close ( ) self . _initialized = False