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