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.
| 36 | |
| 37 | |
| 38 | class 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 | |
| 51 | class SafetensorsInput(BaseModelWithDocstrings): |
nothing calls this directly
no outgoing calls
no test coverage detected