(
        self, arguments: List[str]
    )
return parameters
Method to parse the command line arguments and convert them into Ax parameters
Method to parse the command line arguments and convert them into Ax parameters
Method to parse the command line arguments and convert them into Ax parameters
def parse_commandline_args(
        self, arguments: List[str]
    ) -> List[Dict[str, Union[ax_types.TParamValue, List[ax_types.TParamValue]]]]:
        """Method to parse the command line arguments and convert them into Ax parameters"""
        parser = OverridesParser.create()
        parsed = parser.parse_overrides(arguments)
        parameters: List[Dict[str, Any]] = []
        for override in parsed:
            if override.is_sweep_override():
                if override.is_choice_sweep():
                    param = create_choice_param_from_choice_override(override)
                elif override.is_range_sweep():
                    param = create_choice_param_from_range_override(override)
                elif override.is_interval_sweep():
                    param = create_range_param_using_interval_override(override)
            elif not override.is_hydra_override():
                param = create_fixed_param_from_element_override(override)
            parameters.append(param)

        return parameters
def parse_commandline_args ( self , arguments : List [ str ] ) -> List [ Dict [ str , Union [ ax_types . TParamValue , List [ ax_types . TParamValue ] ] ] ] : parser = OverridesParser . create ( ) parsed = parser . parse_overrides ( arguments ) parameters : List [ Dict [ str , Any ] ] = [ ] for override in parsed : if override . is_sweep_override ( ) : if override . is_choice_sweep ( ) : param = create_choice_param_from_choice_override ( override ) elif override . is_range_sweep ( ) : param = create_choice_param_from_range_override ( override ) elif override . is_interval_sweep ( ) : param = create_range_param_using_interval_override ( override ) elif not override . is_hydra_override ( ) : param = create_fixed_param_from_element_override ( override ) parameters . append ( param ) return parameters