lib/torch/tensor.rb in torch-rb-0.8.1 vs lib/torch/tensor.rb in torch-rb-0.8.2

- old
+ new

@@ -17,9 +17,11 @@ alias_method :**, :pow alias_method :-@, :neg alias_method :&, :logical_and alias_method :|, :logical_or alias_method :^, :logical_xor + alias_method :<<, :__lshift__ + alias_method :>>, :__rshift__ def self.new(*args) FloatTensor.new(*args) end