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

Method to_dense

tensorflow/python/ops/linalg/linear_operator.py:956–959  ·  view source on GitHub ↗

Return a dense (batch) matrix representing this operator.

(self, name="to_dense")

Source from the content-addressed store, hash-verified

954 return self.matmul(eye)
955
956 def to_dense(self, name="to_dense"):
957 """Return a dense (batch) matrix representing this operator."""
958 with self._name_scope(name):
959 return self._to_dense()
960
961 def _diag_part(self):
962 """Generic and often inefficient implementation. Override often."""

Callers 15

_assert_non_singularMethod · 0.95
_assert_self_adjointMethod · 0.95
_determinantMethod · 0.95
_log_abs_determinantMethod · 0.95
_solveMethod · 0.95
_diag_partMethod · 0.95
_add_to_tensorMethod · 0.95
testSampleLargeMethod · 0.80
_testLegalInputsMethod · 0.80
testZeroTriUMethod · 0.80
testValidateArgsMethod · 0.80

Calls 2

_name_scopeMethod · 0.95
_to_denseMethod · 0.95

Tested by 15

testSampleLargeMethod · 0.64
_testLegalInputsMethod · 0.64
testZeroTriUMethod · 0.64
testValidateArgsMethod · 0.64
testAssertPositiveMethod · 0.64
_testLegalInputsMethod · 0.64
testValidateArgsMethod · 0.64
testAssertPositiveMethod · 0.64