[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2025-04-02 14:03:44 +00:00
parent 043cc9180e
commit 5c605fb142
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ PRECISION = {
"bfloat16": torch.bfloat16,
}
def normalize(x, min_val, max_val):
return (x - min_val) / (max_val - min_val)