(self, x, copy=True, nan=0.0, posinf=None, neginf=None)
| 3329 | |
| 3330 | # todo(okachaiev): replace this with a more reasonable implementation |
| 3331 | def nan_to_num(self, x, copy=True, nan=0.0, posinf=None, neginf=None): |
| 3332 | x = self.to_numpy(x) |
| 3333 | x = np.nan_to_num(x, copy=copy, nan=nan, posinf=posinf, neginf=neginf) |
| 3334 | return self.from_numpy(x) |
| 3335 | |
| 3336 | def det(self, x): |
| 3337 | return tf.linalg.det(x) |
nothing calls this directly
no test coverage detected