multiml.const

Constant module.

multiml.const.TRAIN

constant str to indicate train phase.

Type:

str

multiml.const.VALID

constant str to indicate valid phase.

Type:

str

multiml.const.TEST

constant str to indicate test phase.

Type:

str

multiml.const.PHASES

constant list of TRAIN, VALID and TEST.

Type:

list

multiml.const.INVALID

integer to indicate invalid value.

Type:

int

multiml.const.PBAR_FORMAT

format of tqdm progress bar.

Type:

str

multiml.const.PBAR_ARGS

args of tqdm progress bar.

Type:

str

Examples

>>> from multiml import const
>>>
>>> phase = 'train'
>>> if phase == const.TRAIN:
>>>     pass
>>> if phase in const.PHASES:
>>>     pass