composer#

Some key classes are available directly in the composer namespace.

Classes

Algorithm

Base class for algorithms.

Callback

Base class for callbacks.

ComposerModel

The interface needed to make a PyTorch model compatible with composer.Trainer.

DataSpec

Specifications for operating and training on data.

Engine

Coordinator for running algorithms and resolving ordering conflicts among them for composition.

Evaluator

A wrapper for a dataloader to include metrics that apply to a specific dataset.

Event

Enum to represent training loop events.

Logger

An interface to record training data.

State

The state of the trainer.

Time

Time represents static durations of training time in terms of a TimeUnit enum.

TimeUnit

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

Timestamp

Timestamp represents a snapshot of the current training progress.

Trainer

Train models with Composer algorithms.