model_analyzer/config/input/config_command_profile.py
def _add_repository_configs(self):
        """
        Adds configs specific to model repository
        """
        self._add_config(
            ConfigField('model_repository',
                        flags=['--model-repository', '-m'],
                        field_type=ConfigPrimitive(
                            str, required=True, validator=file_path_validator),
                        description='Model repository location'))
        self._add_config(
            ConfigField(
                'output_model_repository_path',
                field_type=ConfigPrimitive(str),
                default_value=DEFAULT_OUTPUT_MODEL_REPOSITORY,
                flags=['--output-model-repository-path'],
                description='Output model repository path used by Model Analyzer.'
                ' This is the directory that will contain all the generated model configurations'
            ))
        self._add_config(
            ConfigField(
                'override_output_model_repository',
                field_type=ConfigPrimitive(bool),
                parser_args={'action': 'store_true'},
                default_value=DEFAULT_OVERRIDE_OUTPUT_REPOSITORY_FLAG,
                flags=['--override-output-model-repository'],
                description=
                'Will override the contents of the output model repository'
                ' and replace it with the new results.'))

        Adds configs specific to model repository
        
Adds configs specific to model repository
Adds configs specific to model repository
def _add_repository_configs(self):
        self._add_config(
            ConfigField('model_repository',
                        flags=['--model-repository', '-m'],
                        field_type=ConfigPrimitive(
                            str, required=True, validator=file_path_validator),
                        description='Model repository location'))
        self._add_config(
            ConfigField(
                'output_model_repository_path',
                field_type=ConfigPrimitive(str),
                default_value=DEFAULT_OUTPUT_MODEL_REPOSITORY,
                flags=['--output-model-repository-path'],
                description='Output model repository path used by Model Analyzer.'
                ' This is the directory that will contain all the generated model configurations'
            ))
        self._add_config(
            ConfigField(
                'override_output_model_repository',
                field_type=ConfigPrimitive(bool),
                parser_args={'action': 'store_true'},
                default_value=DEFAULT_OVERRIDE_OUTPUT_REPOSITORY_FLAG,
                flags=['--override-output-model-repository'],
                description=
                'Will override the contents of the output model repository'
                ' and replace it with the new results.'))
def _add_repository_configs ( self ) : self . _add_config ( ConfigField ( 'model_repository' , flags = [ '--model-repository' , '-m' ] , field_type = ConfigPrimitive ( str , required = True , validator = file_path_validator ) , description = 'Model repository location' ) ) self . _add_config ( ConfigField ( 'output_model_repository_path' , field_type = ConfigPrimitive ( str ) , default_value = DEFAULT_OUTPUT_MODEL_REPOSITORY , flags = [ '--output-model-repository-path' ] , description = 'Output model repository path used by Model Analyzer.' ' This is the directory that will contain all the generated model configurations' ) ) self . _add_config ( ConfigField ( 'override_output_model_repository' , field_type = ConfigPrimitive ( bool ) , parser_args = { 'action' : 'store_true' } , default_value = DEFAULT_OVERRIDE_OUTPUT_REPOSITORY_FLAG , flags = [ '--override-output-model-repository' ] , description = 'Will override the contents of the output model repository' ' and replace it with the new results.' ) )
Adds configs specific to model repository
Adds configs specific to model repository
"""
        Adds configs specific to model repository
        """
self