TimeUnit#

class composer.TimeUnit(value)[source]#

Enum class to represent units of time for the training process.

EPOCH#

Epochs.

Type

str

BATCH#

Batches (i.e. number of optimization steps)

Type

str

SAMPLE#

Samples.

Type

str

TOKEN#

Tokens. Applicable for natural language processing (NLP) models.

Type

str

DURATION#

Fraction of the training process complete, on [0.0, 1.0)

Type

str