lib/dnn/core/param.rb in ruby-dnn-0.10.1 vs lib/dnn/core/param.rb in ruby-dnn-0.10.2

- old
+ new

@@ -1,9 +1,9 @@ -class DNN::Param - attr_accessor :data - attr_accessor :grad - - def initialize(data = nil, grad = nil) - @data = data - @grad = grad - end -end +class DNN::Param + attr_accessor :data + attr_accessor :grad + + def initialize(data = nil, grad = nil) + @data = data + @grad = grad + end +end