]> khamidou — GitHub mirrors - safetensors.git/commit
Adding arithmetic overflow checks (unchecked in release builds). (#207)
authorNicolas Patry <patry.nicolas@protonmail.com>
Wed, 29 Mar 2023 08:57:14 +0000 (10:57 +0200)
committerGitHub <noreply@github.com>
Wed, 29 Mar 2023 08:57:14 +0000 (10:57 +0200)
commit3298667fa71c66ee57602b89368b89ec7c0330a2
treeab554a05a03af8667c6d6ddac540bf15ed862789
parentdb4f5f4ad1aa2f920c30b2cfa836880a614e4e00
Adding arithmetic overflow checks (unchecked in release builds). (#207)

* Adding arithmetic overflow checks (unchecked in release builds).

* Fix rebase
safetensors/src/tensor.rs