model_analyzer/config/input/config_command_analyze.py
def _fill_config(self):
        """
        Builder function makes calls to add config to 
        fill the config with options
        """
        self._add_config(
            ConfigField(
                'config_file',
                field_type=ConfigPrimitive(str),
                flags=['-f', '--config-file'],
                description="Path to config file for subcommand 'analyze'."))
        self._add_config(
            ConfigField(
                'checkpoint_directory',
                flags=['--checkpoint-directory', '-s'],
                default_value=DEFAULT_CHECKPOINT_DIRECTORY,
                field_type=ConfigPrimitive(str,
                                           validator=parent_path_validator),
                description=
                "Full path to directory to which to read and write checkpoints and profile data."
            ))

        self._add_model_spec_configs()
        self._add_export_configs()
        self._add_report_configs()
        self._add_table_configs()
        self._add_shorthand_configs()

        Builder function makes calls to add config to 
        fill the config with options
        
Builder function makes calls to add config to
fill the config with options
Builder function makes calls to add config to fill the config with options
def _fill_config(self):
        self._add_config(
            ConfigField(
                'config_file',
                field_type=ConfigPrimitive(str),
                flags=['-f', '--config-file'],
                description="Path to config file for subcommand 'analyze'."))
        self._add_config(
            ConfigField(
                'checkpoint_directory',
                flags=['--checkpoint-directory', '-s'],
                default_value=DEFAULT_CHECKPOINT_DIRECTORY,
                field_type=ConfigPrimitive(str,
                                           validator=parent_path_validator),
                description=
                "Full path to directory to which to read and write checkpoints and profile data."
            ))
        self._add_model_spec_configs()
        self._add_export_configs()
        self._add_report_configs()
        self._add_table_configs()
        self._add_shorthand_configs()
def _fill_config ( self ) : self . _add_config ( ConfigField ( 'config_file' , field_type = ConfigPrimitive ( str ) , flags = [ '-f' , '--config-file' ] , description = "Path to config file for subcommand 'analyze'." ) ) self . _add_config ( ConfigField ( 'checkpoint_directory' , flags = [ '--checkpoint-directory' , '-s' ] , default_value = DEFAULT_CHECKPOINT_DIRECTORY , field_type = ConfigPrimitive ( str , validator = parent_path_validator ) , description = "Full path to directory to which to read and write checkpoints and profile data." ) ) self . _add_model_spec_configs ( ) self . _add_export_configs ( ) self . _add_report_configs ( ) self . _add_table_configs ( ) self . _add_shorthand_configs ( )
Builder function makes calls to add config to
fill the config with options
Builder function makes calls to add config to fill the config with options
"""
        Builder function makes calls to add config to 
        fill the config with options
        """
self