parameters: (self, **flags)
return_statement: return self
docstring: Add customized attributes for cell.
  
          This method is also called when the cell class is instantiated and the class parameter 'flags' is set to True.
  
          Args:
              flags (dict): Network configuration information, currently it is used for the binding of network and
                  dataset. Users can also customize network attributes by this parameter. Default: None.
docstring_summary: Add customized attributes for cell.
docstring_tokens: Add customized attributes for cell .
function: def add_flags(self, **flags):
          """
          Add customized attributes for cell.
  
          This method is also called when the cell class is instantiated and the class parameter 'flags' is set to True.
  
          Args:
              flags (dict): Network configuration information, currently it is used for the binding of network and
                  dataset. Users can also customize network attributes by this parameter. Default: None.
          """
          if not hasattr(self, "_mindspore_flags"):
              self._mindspore_flags = {}
          self._mindspore_flags.update({**flags})
          self.__dict__.update({**flags})
          self._add_mixed_precision_flag(**flags)
          return self
function_tokens: def add_flags ( self , * * flags ) : if not hasattr ( self , "_mindspore_flags" ) : self . _mindspore_flags = { } self . _mindspore_flags . update ( { * * flags } ) self . __dict__ . update ( { * * flags } ) self . _add_mixed_precision_flag ( * * flags ) return self