set_min_denominator#
- ivy.set_min_denominator(val)[source]#
Set the global minimum denominator used by ivy for numerically stable division.
- Parameters:
val (
float
) – The value to set the global minimum denominator to.- Return type:
None
Examples
>>> x = ivy.min_denominator >>> print(x) 1e-12
>>> ivy.set_min_denominator(1e-13) >>> y = ivy.min_denominator >>> print(y) 1e-13