Sha256: 7672a4cbc607fcebc8a0c52800435b80316389620c307daa436e47995d466778

Contents?: true

Size: 515 Bytes

Versions: 2

Compression:

Stored size: 515 Bytes

Contents

module TensorFlow
  module Bitwise
    class << self
      def bitwise_and(x, y)
        RawOps.bitwise_and(x: x, y: y)
      end

      def bitwise_or(x, y)
        RawOps.bitwise_or(x: x, y: y)
      end

      def bitwise_xor(x, y)
        RawOps.bitwise_xor(x: x, y: y)
      end

      def invert(x)
        RawOps.invert(x: x)
      end

      def left_shift(x, y)
        RawOps.left_shift(x: x, y: y)
      end

      def right_shift(x, y)
        RawOps.right_shift(x: x, y: y)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tensorflow-0.2.0 lib/tensorflow/bitwise.rb
tensorflow-0.1.2 lib/tensorflow/bitwise.rb