opensi·si

Below are variations of a singleton class in the sense that all

Stateful classes

Below are variations of a singleton class in the sense that all instances share the same state, which is initialized on the first instantiation.

These classes are immutable and store information about certain configurations or states.

PartialState

[[autodoc]] state.PartialState

AcceleratorState

[[autodoc]] state.AcceleratorState

GradientState

[[autodoc]] state.GradientState

Source and license

Source: Accelerate documentation, adapted for this site. Licensing and attribution follow the terms of the upstream project.