Reduce min_abs from 1e-03 to 1e-04

This commit is contained in:
Daniel Povey 2022-10-19 19:27:28 +08:00
parent ef5a27388f
commit 0ad4462632

View File

@ -196,7 +196,7 @@ def random_clamp(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.
"""