composer.algorithms.no_op_model#

Modules

composer.algorithms.no_op_model.no_op_model

NoOpModel algorithm and class.

Replaces model with a dummy model of type NoOpModelClass.

The algorithm runs on Event.INIT. It replaces the model in the state with a NoOpModelClass and then updates the parameters in the optimizer through module surgery.

A dummy model can helpful for profiling the dataloader by eliminating the work necessary to compute model outputs.

Classes

NoOpModel

Runs on Event.INIT and replaces the model with a dummy model of type NoOpModelClass.

NoOpModelClass

Dummy model used for testing.