]> khamidou — GitHub mirrors - safetensors.git/commit
Disallowing zero-width tensor. (#205)
authorNicolas Patry <patry.nicolas@protonmail.com>
Tue, 28 Mar 2023 13:45:39 +0000 (15:45 +0200)
committerGitHub <noreply@github.com>
Tue, 28 Mar 2023 13:45:39 +0000 (15:45 +0200)
commit446f7ade0b068c0c8b5e81c80490c2408b755fd7
tree5db55819cb45eccb7f670549aeecb40f7ce65dd7
parente0b932d76da8328e4c0e0a5bb7d6a00fcc06aba0
Disallowing zero-width tensor. (#205)

* Disallowing zero-width tensor.

* Fix test.
safetensors/src/tensor.rs