def __init__(self,<EOL>output_dir,<EOL>base_name='<STR_LIT>',<EOL>summarize_config=True,<EOL>summary_writer=None):
self._output_dir = output_dir<EOL>self._base_name = base_name<EOL>self._summarize_config = summarize_config<EOL>self._summary_writer = summary_writer<EOL>
Construct the GinConfigSaverHook.

        Args:
          output_dir: The directory in which to save the operative config. This
            should in general be the same as the directory in which summaries are
            stored (and thus may be different for train vs. eval jobs.
          base_name: The base name (name excluding path and extension) of the file
            where this hook will write the operative config. Also used as the
            summary tag if summarizing the config for display in TensorBoard.
          summarize_config: Whether to save a summary of the operative config that
            will be loaded by TensorBoard and displayed in its "Text" tab.
          summary_writer: A tf.summary.FileWriter object to use for writing
            summaries. If `None` (default), a FileWriter object for `output_dir`
            will be created/retrieved by the tf.summary.FileWriterCache associated
            with `output_dir` in `after_create_session`.