Reduce min_abs from 1e-03 to 1e-04
This commit is contained in:
parent
ef5a27388f
commit
0ad4462632
@ -196,7 +196,7 @@ def random_clamp(x: Tensor,
|
|||||||
|
|
||||||
|
|
||||||
def random_cast_to_half(x: Tensor,
|
def random_cast_to_half(x: Tensor,
|
||||||
min_abs: float = 1.0e-03) -> Tensor:
|
min_abs: float = 1.0e-04) -> Tensor:
|
||||||
"""
|
"""
|
||||||
A randomized way of casting a floating point value to half precision.
|
A randomized way of casting a floating point value to half precision.
|
||||||
"""
|
"""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user