mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
tensor_size
- fix copy/paste error msg typo (#28660)
Fix copy/paste error msg typo
This commit is contained in:
parent
27c79a0fb4
commit
c475eca9cd
@ -660,7 +660,7 @@ def tensor_size(array):
|
||||
elif is_jax_tensor(array):
|
||||
return array.size
|
||||
else:
|
||||
raise ValueError(f"Type not supported for expand_dims: {type(array)}.")
|
||||
raise ValueError(f"Type not supported for tensor_size: {type(array)}.")
|
||||
|
||||
|
||||
def add_model_info_to_auto_map(auto_map, repo_id):
|
||||
|
Loading…
Reference in New Issue
Block a user