clarify the option to disable NaN check.
This commit is contained in:
parent
6f31d2210c
commit
9beb794e0b
@ -143,6 +143,8 @@ def test_for_nans(x, where):
|
||||
else:
|
||||
message = "A tensor with all NaNs was produced."
|
||||
|
||||
message += " Use --disable-nan-check commandline argument to disable this check."
|
||||
|
||||
raise NansException(message)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user