Esempio n. 1
0
 def mul_(self, other):
     torch._bop(self, other)
     return self
Esempio n. 2
0
 def sub_(self, other):
     torch._bop(self, other)
     return self
Esempio n. 3
0
 def mul(self, other):
     return torch._bop(self, other)
Esempio n. 4
0
 def add_(self, other):
     torch._bop(self, other)
     return self
Esempio n. 5
0
 def sub(self, other):
     return torch._bop(self, other)
Esempio n. 6
0
 def __pow__(self, other):
     return torch._bop(self, other)
Esempio n. 7
0
 def add(self, other):
     return torch._bop(self, other)
Esempio n. 8
0
 def __rmul__(self, other):
     return torch._bop(self, other)
Esempio n. 9
0
 def __rtruediv__(self, other):
     return torch._bop(self, other)
Esempio n. 10
0
 def __radd__(self, other):
     return torch._bop(self, other)
Esempio n. 11
0
 def __rsub__(self, other):
     return torch._bop(self, other)
Esempio n. 12
0
 def pow_(self, other):
     torch._bop(self, other)
     return self
Esempio n. 13
0
 def pow(self, exponent):
     return torch._bop(self, exponent)
Esempio n. 14
0
 def __ne__(self, other):
     tensor = torch._bop(self, other)
     tensor.dtype = torch.bool
     return tensor
Esempio n. 15
0
 def div(self, other):
     return torch._bop(self, other)
Esempio n. 16
0
 def __rfloordiv__(self, other):
     return torch._bop(self, other)
Esempio n. 17
0
 def div_(self, other):
     torch._bop(self, other)
     return self
Esempio n. 18
0
 def eq(self, other):
     return torch._bop(self, other)