ExactScanScenario
Agents scenarios · Implementation: mlsysim/engine/scenario_definitions/agents.py.
Construct this scenario with keyword inputs. The fields below show the types and defaults declared by this class.
An exact vector scan on one host: bytes, intensity, and the bandwidth floor.
Notes
Equation: Result = mlsysim.solvers.ExactScanFloorModel.solve with the named scenario fields; no extra fitting or postprocessing is applied.
Assumptions: The supplied inputs use the units and validity regime documented by ExactScanFloorModel.solve; this class binds one reproducible configuration.
Excludes: Any behavior excluded by ExactScanFloorModel.solve, and measurement or calibration of the supplied inputs.
References
Implementation reference: mlsysim.solvers.ExactScanFloorModel.solve documents the composed equation and its sources.
Examples
The named registry scenario supplies the stated inputs; this is a modeled calculation, not a new measurement.
>>> from mlsysim import Scenarios
>>> scenario = Scenarios.ExactScanTenMillionVectors
>>> round((scenario.result.footprint).to('B').magnitude, 6)
15360000000Attributes
| Name | Description |
|---|---|
| budget | |
| bytes_per_value | |
| dimension | |
| filtered_vectors | |
| host | |
| result | Return mlsysim.solvers.ExactScanFloorModel.solve for this scenario; output fields retain the units and feasibility semantics specified by that solver. |
| searches | |
| vectors |
host
Type: HardwareNode.
Declared default: required.
vectors
Type: int.
Declared default: required.
dimension
Type: int.
Declared default: required.
bytes_per_value
Type: Quantity.
Declared default: required.
searches
Type: Optional[int].
Declared default: None.
filtered_vectors
Type: Optional[int].
Declared default: None.
budget
Type: Optional[Quantity].
Declared default: None.
result
engine.scenario_types.ExactScanScenario.result
Return mlsysim.solvers.ExactScanFloorModel.solve for this scenario; output fields retain the units and feasibility semantics specified by that solver.
Equation: mlsysim.solvers.ExactScanFloorModel.solve (scenario fields).