model_analyzer/config/input/config_command_analyze.py
def _add_export_configs(self):
        """
        Add configs related to exporting data
        """

        self._add_config(
            ConfigField('export_path',
                        flags=['--export-path', '-e'],
                        default_value=DEFAULT_EXPORT_PATH,
                        field_type=ConfigPrimitive(
                            str, validator=file_path_validator),
                        description=
                        "Full path to directory in which to store the results"))
        self._add_config(
            ConfigField(
                'filename_model_inference',
                flags=['--filename-model-inference'],
                default_value=DEFAULT_FILENAME_MODEL_INFERENCE,
                field_type=ConfigPrimitive(str),
                description=
                'Specifies filename for storing model inference metrics'))
        self._add_config(
            ConfigField(
                'filename_model_gpu',
                flags=['--filename-model-gpu'],
                field_type=ConfigPrimitive(str),
                default_value=DEFAULT_FILENAME_MODEL_GPU,
                description='Specifies filename for storing model GPU metrics'))
        self._add_config(
            ConfigField(
                'filename_server_only',
                flags=['--filename-server-only'],
                field_type=ConfigPrimitive(str),
                default_value=DEFAULT_FILENAME_SERVER_ONLY,
                description='Specifies filename for server-only metrics'))

        Add configs related to exporting data
        
Add configs related to exporting data
Add configs related to exporting data
def _add_export_configs(self):
        self._add_config(
            ConfigField('export_path',
                        flags=['--export-path', '-e'],
                        default_value=DEFAULT_EXPORT_PATH,
                        field_type=ConfigPrimitive(
                            str, validator=file_path_validator),
                        description=
                        "Full path to directory in which to store the results"))
        self._add_config(
            ConfigField(
                'filename_model_inference',
                flags=['--filename-model-inference'],
                default_value=DEFAULT_FILENAME_MODEL_INFERENCE,
                field_type=ConfigPrimitive(str),
                description=
                'Specifies filename for storing model inference metrics'))
        self._add_config(
            ConfigField(
                'filename_model_gpu',
                flags=['--filename-model-gpu'],
                field_type=ConfigPrimitive(str),
                default_value=DEFAULT_FILENAME_MODEL_GPU,
                description='Specifies filename for storing model GPU metrics'))
        self._add_config(
            ConfigField(
                'filename_server_only',
                flags=['--filename-server-only'],
                field_type=ConfigPrimitive(str),
                default_value=DEFAULT_FILENAME_SERVER_ONLY,
                description='Specifies filename for server-only metrics'))
def _add_export_configs ( self ) : self . _add_config ( ConfigField ( 'export_path' , flags = [ '--export-path' , '-e' ] , default_value = DEFAULT_EXPORT_PATH , field_type = ConfigPrimitive ( str , validator = file_path_validator ) , description = "Full path to directory in which to store the results" ) ) self . _add_config ( ConfigField ( 'filename_model_inference' , flags = [ '--filename-model-inference' ] , default_value = DEFAULT_FILENAME_MODEL_INFERENCE , field_type = ConfigPrimitive ( str ) , description = 'Specifies filename for storing model inference metrics' ) ) self . _add_config ( ConfigField ( 'filename_model_gpu' , flags = [ '--filename-model-gpu' ] , field_type = ConfigPrimitive ( str ) , default_value = DEFAULT_FILENAME_MODEL_GPU , description = 'Specifies filename for storing model GPU metrics' ) ) self . _add_config ( ConfigField ( 'filename_server_only' , flags = [ '--filename-server-only' ] , field_type = ConfigPrimitive ( str ) , default_value = DEFAULT_FILENAME_SERVER_ONLY , description = 'Specifies filename for server-only metrics' ) )
Add configs related to exporting data
Add configs related to exporting data
"""
        Add configs related to exporting data
        """
self