lib/torch/native/function.rb in torch-rb-0.1.7 vs lib/torch/native/function.rb in torch-rb-0.1.8
- old
+ new
@@ -64,9 +64,10 @@
raise "Unknown default: #{d}"
end
end
next if t == "Generator?"
+ next if t == "MemoryFormat?"
args << {name: k, type: t, default: d, pos: pos, has_default: has_default}
end
args
end
end