Permalink
Show file tree
Hide file tree
10 changes: 10 additions & 0 deletions
10
tensorflow/python/kernel_tests/linalg/sparse/csr_sparse_matrix_ops_test.py
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix missing sparse matrix crash.
Calling a sparse matrix op with no matrix currently causes a crash. Here we check and return a non-ok status. PiperOrigin-RevId: 476379116
- Loading branch information
1 parent
a8a5513
commit f856d02
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters