From 7b8a99517cbff8eec7a7c771c891dd53ea81cb1f Mon Sep 17 00:00:00 2001 From: Megvii Engine Team Date: Fri, 19 Jun 2020 13:59:27 +0800 Subject: [PATCH] feat(mge/utils): export _internal.plugin to mge.utils GitOrigin-RevId: 795821fe7f3f2550164dbeabd9946f0c4737db68 --- python_module/megengine/utils/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python_module/megengine/utils/__init__.py b/python_module/megengine/utils/__init__.py index f0b0c3226..6b7b2d3a8 100644 --- a/python_module/megengine/utils/__init__.py +++ b/python_module/megengine/utils/__init__.py @@ -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: -- GitLab