Exemplo n.º 1
0
 def _matmul(self, *inputs):
     # np.matmul became a ufunc in version 1.16.0
     return matmul(*inputs)
Exemplo n.º 2
0
 def __rmatmul__(self, other):
     # Implements the protocol used by the '@' operator defined in PEP 465.
     return matmul(other, self)