MCPcopy Create free account
hub / github.com/NVIDIA/SOL-ExecBench / ScalarInput

Class ScalarInput

src/sol_execbench/core/data/workload.py:38–48  ·  view source on GitHub ↗

Scalar literal input specification. Represents a scalar value (integer, float, or boolean) that will be used as a direct input parameter to the computational workload.

Source from the content-addressed store, hash-verified

36
37
38class ScalarInput(BaseModelWithDocstrings):
39 """Scalar literal input specification.
40
41 Represents a scalar value (integer, float, or boolean) that will be
42 used as a direct input parameter to the computational workload.
43 """
44
45 type: Literal["scalar"] = "scalar"
46 """The input type identifier for scalar values."""
47 value: Union[int, float, bool]
48 """The scalar value to be used as input. Must be int, float, or bool."""
49
50
51class SafetensorsInput(BaseModelWithDocstrings):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected