parameters: (self, ready_op=USE_DEFAULT)
docstring: Initializes ready_op.
  
      Args:
        ready_op: `Tensor` to check if the model is initialized.
          If it's set to USE_DEFAULT, creates an op that checks all
          the variables are initialized.
docstring_summary: Initializes ready_op.
docstring_tokens: Initializes ready_op .
function: def _init_ready_op(self, ready_op=USE_DEFAULT):
      """Initializes ready_op.
  
      Args:
        ready_op: `Tensor` to check if the model is initialized.
          If it's set to USE_DEFAULT, creates an op that checks all
          the variables are initialized.
      """
      if ready_op is Supervisor.USE_DEFAULT:
        ready_op = self._get_first_op_from_collection(ops.GraphKeys.READY_OP)
        if ready_op is None:
          ready_op = variables.report_uninitialized_variables()
          ops.add_to_collection(ops.GraphKeys.READY_OP, ready_op)
      self._ready_op = ready_op
function_tokens: def _init_ready_op ( self , ready_op = USE_DEFAULT ) : if ready_op is Supervisor . USE_DEFAULT : ready_op = self . _get_first_op_from_collection ( ops . GraphKeys . READY_OP ) if ready_op is None : ready_op = variables . report_uninitialized_variables ( ) ops . add_to_collection ( ops . GraphKeys . READY_OP , ready_op ) self . _ready_op = ready_op