function
neg_inf
neg_inf[type: DType]() -> SIMD[$0, 1]
Gets a -inf value for the given dtype.
Constraints:
Can only be used for FP dtypes.
Parameters:
- type (
DType
): The value dtype.
Returns:
The -inf value of the given dtype.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
If you'd like to share more information, please report an issue on GitHub
😔 What went wrong?