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.
Examples
>>> x = ivy.get_min_denominator() >>> print(x) 1e-12
>>> ivy.set_min_denominator(1e-13) >>> y = ivy.get_min_denominator() >>> print(y) 1e-13
- Return type:
None