Sha256: cb2bd44fba16c62957f1ecfbc56552bd72b30152dd519bc8a1e6c37387372c7a

Contents?: true

Size: 186 Bytes

Versions: 1

Compression:

Stored size: 186 Bytes

Contents

module Torch
  module NN
    class Identity < Module
      def initialize(*args, **options)
        super()
      end

      def forward(input)
        input
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
torch-rb-0.1.4 lib/torch/nn/identity.rb