(self)
| 991 | return self._diag_part() |
| 992 | |
| 993 | def _trace(self): |
| 994 | return math_ops.reduce_sum(self.diag_part(), axis=-1) |
| 995 | |
| 996 | def trace(self, name="trace"): |
| 997 | """Trace of the linear operator, equal to sum of `self.diag_part()`. |
no test coverage detected