MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _matvec

Method _matvec

tensorflow/python/ops/linalg/linear_operator.py:630–633  ·  view source on GitHub ↗
(self, x, adjoint=False)

Source from the content-addressed store, hash-verified

628 return self._matmul(x, adjoint=adjoint, adjoint_arg=adjoint_arg)
629
630 def _matvec(self, x, adjoint=False):
631 x_mat = array_ops.expand_dims(x, axis=-1)
632 y_mat = self.matmul(x_mat, adjoint=adjoint)
633 return array_ops.squeeze(y_mat, axis=-1)
634
635 def matvec(self, x, adjoint=False, name="matvec"):
636 """Transform [batch] vector `x` with left multiplication: `x --> Ax`.

Callers 1

matvecMethod · 0.95

Calls 2

matmulMethod · 0.95
expand_dimsMethod · 0.45

Tested by

no test coverage detected