Skip to main content

ErrorFeedbackScenario

Communication scenarios · Implementation: mlsysim/engine/scenario_definitions/communication.py.

Construct this scenario with keyword inputs. The fields below show the types and defaults declared by this class.

A rounding compressor applied to a gradient sequence, with and without error feedback.

Notes

Equation: Compose mlsysim.solvers.ErrorFeedbackModel.

Assumptions: The stated fields are inputs to mlsysim.solvers.ErrorFeedbackModel; its documented validity regime, units, and modeling choices apply unchanged.

Excludes: This scenario adds no measurement, empirical calibration, or mechanisms beyond mlsysim.solvers.ErrorFeedbackModel.

References

Derivation: this scenario binds its input fields to the referenced implementation contracts: mlsysim.solvers.ErrorFeedbackModel. The methods below identify any additional arithmetic.

Examples

>>> from mlsysim import Scenarios
>>> case = Scenarios.ErrorFeedbackFiveSteps
>>> type(case.result).__name__
'ErrorFeedbackResult'

Attributes

Name Description
gradients
result Evaluate this scenario through mlsysim.solvers.ErrorFeedbackModel.solve. Equation:

gradients

Type: List[float].

Declared default: required.

result

engine.scenario_types.ErrorFeedbackScenario.result

Evaluate this scenario through mlsysim.solvers.ErrorFeedbackModel.solve. Equation: pass the stated fields to that implementation; its contract defines the calculation and feasibility tests. Units: each returned field follows the referenced result schema; no independent equation is evaluated by this wrapper.

Back to top