lib/dnn/core/error.rb in ruby-dnn-0.4.4 vs lib/dnn/core/error.rb in ruby-dnn-0.5.0
- old
+ new
@@ -2,12 +2,6 @@
class DNN_Error < StandardError; end
class DNN_TypeError < DNN_Error; end
class DNN_SharpError < DNN_Error; end
-
- class DNN_GradUnfairError < DNN_Error
- def initialize(grad, n_grad)
- super("gradient is #{grad}, but numerical gradient is #{n_grad}")
- end
- end
end