This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
modelscope
/
ModelScope
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
0
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
[to
#45452180
] python 3.10.x compatible
Link:
https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10394282
* python 3.10.x compatible
master
zhangzhicheng.zzc
yingda.chen
3 years ago
parent
14e52b308a
commit
383452b0a4
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
modelscope/utils/tensor_utils.py
+ 1
- 1
modelscope/utils/tensor_utils.py
View File
@@ -1,6 +1,6 @@
# Copyright (c) Alibaba, Inc. and its affiliates.
# Part of the implementation is borrowed from huggingface/transformers.
from collections import Mapping
from collections
.abc
import Mapping
def torch_nested_numpify(tensors):
Write
Preview
Loading…
Cancel
Save