baybe.utils.basic.convert_to_float

baybe.utils.basic.convert_to_float(x: ConvertibleToFloat | Iterable[ConvertibleToFloat])[source]

Convert to a float / iterable of floats.

Return type:

float | tuple[float, …]