module Tensorflow::Operators

Public Instance Methods

%(other) click to toggle source
# File lib/tensorflow/ops/operators.rb, line 23
def %(other)
  Math.floormod(self, other, dtype: self.dtype)
end
*(other) click to toggle source
# File lib/tensorflow/ops/operators.rb, line 11
def *(other)
  Math.multiply(self, other, dtype: self.dtype)
end
**(other) click to toggle source
# File lib/tensorflow/ops/operators.rb, line 15
def **(other)
  Math.pow(self, other, dtype: self.dtype)
end
+(other) click to toggle source
# File lib/tensorflow/ops/operators.rb, line 3
def +(other)
  Math.add(self, other, dtype: self.dtype)
end
-(other) click to toggle source
# File lib/tensorflow/ops/operators.rb, line 7
def -(other)
  Math.subtract(self, other, dtype: self.dtype)
end
-@() click to toggle source
# File lib/tensorflow/ops/operators.rb, line 27
def -@
  Math.negative(self)
end
/(other) click to toggle source
# File lib/tensorflow/ops/operators.rb, line 19
def /(other)
  Math.divide(self, other, dtype: self.dtype)
end