This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
MegEngine
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
31
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
feat(mge/utils): export _internal.plugin to mge.utils
GitOrigin-RevId:
795821fe7f
tags/v0.5.0
Megvii Engine Team
Xu Xinran
5 years ago
parent
f1dd86799b
commit
cdf25c4afb
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
python_module/megengine/utils/__init__.py
+ 4
- 0
python_module/megengine/utils/__init__.py
View File
@@ -6,6 +6,10 @@
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
from megengine._internal.plugin import load_tensor_binary
def prod(iterable):
result = 1
for i in iterable:
Write
Preview
Loading…
Cancel
Save