lib/torch/nn/identity.rb in torch-rb-0.1.4 vs lib/torch/nn/identity.rb in torch-rb-0.1.5
- old
+ new
@@ -1,7 +1,8 @@
module Torch
module NN
class Identity < Module
+ # written this way to support unused arguments
def initialize(*args, **options)
super()
end
def forward(input)