concepts.dsl.tensor_value.scalar#
- scalar(value, dtype=None)[source]#
- Parameters:
value (TensorValue | Tensor | bool | float | int | str | Any)
dtype (TensorValueTypeBase | PyObjValueType | None)
- Return type:
value (TensorValue | Tensor | bool | float | int | str | Any)
dtype (TensorValueTypeBase | PyObjValueType | None)