Sha256: 9cc4b5c8dc48b17bcb6abe1257783cb945922e58500cf69227628e2e42db8c0a

Contents?: true

Size: 215 Bytes

Versions: 9

Compression:

Stored size: 215 Bytes

Contents

module DNN
  class Param
    attr_accessor :name
    attr_accessor :data
    attr_accessor :grad

    def initialize(data = nil, grad = nil)
      @data = data
      @grad = grad
      @name = nil
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ruby-dnn-0.14.3 lib/dnn/core/param.rb
ruby-dnn-0.14.2 lib/dnn/core/param.rb
ruby-dnn-0.14.1 lib/dnn/core/param.rb
ruby-dnn-0.14.0 lib/dnn/core/param.rb
ruby-dnn-0.13.4 lib/dnn/core/param.rb
ruby-dnn-0.13.3 lib/dnn/core/param.rb
ruby-dnn-0.13.2 lib/dnn/core/param.rb
ruby-dnn-0.13.1 lib/dnn/core/param.rb
ruby-dnn-0.13.0 lib/dnn/core/param.rb