/
githubmirror
/
incubator-mxnet
Обзор
Документация
Войти
/
githubmirror
/
incubator-mxnet
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
python/mxnet/numpy_extension/__init__.py
35 строк
1 KB
Zhenghui Jin
[API] Standardize MXNet NumPy creation functions (#20572)
04 ноя 2021, 17:28
Не верифицирован
04 ноя 2021, 17:28
683c974
Код
Авторство
О чём код?
#!/usr/bin/env python # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. """Module for ops not belonging to the official numpy package for imperative programming.""" from . import _op from . import image from . import random # pylint: disable=wildcard-import from . import _register from . import control_flow from ._op import * # pylint: disable=wildcard-import from .control_flow import * # pylint: disable=wildcard-import from ..device import * # pylint: disable=wildcard-import from ..util import is_np_shape, is_np_array, set_np, reset_np, get_cuda_compute_capability,\ is_np_default_dtype, set_np_default_dtype from ..ndarray import waitall from .utils import * # pylint: disable=wildcard-import __all__ = []