parameters: (self)
docstring: Check that all is good.
  
      Raises:
        ValueError: If something is not good.
docstring_summary: Check that all is good.
docstring_tokens: Check that all is good .
function: def _verify_setup(self):
      """Check that all is good.
  
      Raises:
        ValueError: If something is not good.
      """
      # Not running as chief means that replicas are used.
      # In that case all Variables must have their device set.
      if not self._is_chief:
        for op in self._graph.get_operations():
          if op.type == "Variable" and not op.device:
            raise ValueError("When using replicas, all Variables must have "
                             "their device set: %s" % op)
function_tokens: def _verify_setup ( self ) : # Not running as chief means that replicas are used. # In that case all Variables must have their device set. if not self . _is_chief : for op in self . _graph . get_operations ( ) : if op . type == "Variable" and not op . device : raise ValueError ( "When using replicas, all Variables must have " "their device set: %s" % op )