File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
binding/python/py/bintensors Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,8 @@ def save_with_checksum(
112
112
Optional text only metadata you might want to save in your header.
113
113
For instance it can be useful to specify more about the underlying
114
114
tensors. This is purely informative and does not affect tensor loading.
115
- hasher
115
+ hasher (`Callable[[bytes], HASH]`):
116
+ A hash is an object used to calculate a checksum of a string of information.
116
117
117
118
Returns:
118
119
`bytes`: The raw bytes representing the format
Original file line number Diff line number Diff line change @@ -373,7 +373,9 @@ def save_with_checksum(
373
373
Optional text only metadata you might want to save in your header.
374
374
For instance it can be useful to specify more about the underlying
375
375
tensors. This is purely informative and does not affect tensor loading.
376
-
376
+ hasher (`Callable[[bytes], HASH]`):
377
+ A hash is an object used to calculate a checksum of a string of information.
378
+
377
379
Returns:
378
380
`bytes`: The raw bytes representing the format
379
381
You can’t perform that action at this time.
0 commit comments