Sha256: d090879378e62f2feeec12e84f69bd20e6f246dc2b8c40fc36db2c17a6d8c57c

Contents?: true

Size: 264 Bytes

Versions: 1

Compression:

Stored size: 264 Bytes

Contents

class Array
  include TensorStream::MonkeyPatch

  def /(other)
    TensorStream.convert_to_tensor(self) * other
  end

  def %(other)
    TensorStream.convert_to_tensor(self) % other
  end

  def **(other)
    TensorStream.convert_to_tensor(self)**other
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tensor_stream-0.9.5 lib/tensor_stream/monkey_patches/array.rb