safely divide for 0 size inputs (#388)

This commit is contained in:
Awni Hannun
2024-01-07 00:19:54 -08:00
committed by GitHub
parent b34bf5d52b
commit c6d2878c1a
2 changed files with 6 additions and 3 deletions

View File

@@ -2314,4 +2314,4 @@ TEST_CASE("tensordot") {
65370.},
{3, 6});
CHECK(array_equal(z, expected).item<bool>());
}
}