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
commit
cdf25c4afb
1 changed files with 4 additions and 0 deletions
  1. +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:


Loading…
Cancel
Save