mlrl.util package¶ Submodules¶ mlrl.util.arrays module SparseFormat SparseFormat.COO SparseFormat.CSC SparseFormat.CSR SparseFormat.DOK SparseFormat.LIL enforce_2d() enforce_dense() is_coo() is_csc() is_csr() is_dok() is_lil() is_sparse() is_sparse_and_memory_efficient() mlrl.util.cli module Argument Argument.get_value() Argument.key Argument.name BoolArgument BoolArgument.get_value() CommandLineInterface CommandLineInterface.add_arguments() CommandLineInterface.parse_known_args() EnumArgument EnumArgument.get_value() FloatArgument FloatArgument.get_value() IntArgument IntArgument.get_value() SetArgument SetArgument.get_value() StringArgument StringArgument.get_value() mlrl.util.format module format_enum_values() format_iterable() format_set() 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 assert_greater() assert_greater_or_equal() assert_less() assert_less_or_equal() assert_multiple() assert_not_none()