mlrl.util package¶ Submodules¶ mlrl.util.arrays module SparseFormat SparseFormat.BSR SparseFormat.COO SparseFormat.CSC SparseFormat.CSR SparseFormat.DIA SparseFormat.DOK SparseFormat.LIL enforce_2d() enforce_dense() ensure_no_complex_data() get_unique_values() is_bsr() is_coo() is_csc() is_csr() is_dia() is_dok() is_lil() is_sparse() is_sparse_and_memory_efficient() mlrl.util.cli module Argument Argument.argument_name_to_key() Argument.get_value() Argument.get_value_and_options() Argument.key Argument.key_to_argument_name() Argument.name BoolArgument BoolArgument.get_value() CommandLineInterface CommandLineInterface.add_arguments() CommandLineInterface.parse_known_args() EnumArgument EnumArgument.get_value() FlagArgument FloatArgument FloatArgument.get_value() IntArgument IntArgument.get_value() PathArgument PathArgument.get_value() SetArgument SetArgument.Values SetArgument.get_value() StringArgument StringArgument.get_value() mlrl.util.format module format_enum_values() format_iterable() format_list() format_set() format_value() mlrl.util.options module BooleanOption BooleanOption.FALSE BooleanOption.TRUE BooleanOption.parse() Options Options.ERROR_MESSAGE_INVALID_OPTION Options.ERROR_MESSAGE_INVALID_SYNTAX Options.create() Options.get_bool() Options.get_float() Options.get_int() Options.get_string() parse_enum() parse_param() parse_param_and_options() mlrl.util.validation module ValidationError assert_greater() assert_greater_or_equal() assert_less() assert_less_or_equal() assert_multiple() assert_not_none() mlrl.util.version module Version Version.numbers Version.parse() Version.parse_version_number()