Skip to content
Unverified Commit 55633103 authored by Yu-Hsiang Lan's avatar Yu-Hsiang Lan Committed by GitHub
Browse files

Add NaN/Inf checks into check_numpy_array_features (#1145)

* Add NaN/Inf checks into check_numpy_array_features

For normal scenario (and provide a killer switch to turn off the check), all numpy arrays should not have NaN or Inf.

* fix E501

also put report_failure to the end to match the style

* Update doc
parent 344e1f27
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment