Fixed the numeric-gradient algorithm to return Inf error if any of the numeric errors is NaN or Inf.
拖放文件到此处或者 点击上传