diff --git a/mindscience/__init__.py b/mindscience/__init__.py index 056989625e83fab699f439350602153017ff6b2c..56339b02d24590041a6eb683b2507ef59f6f8aa9 100644 --- a/mindscience/__init__.py +++ b/mindscience/__init__.py @@ -28,6 +28,7 @@ from .pde import * from .sciops import * from .solvers import * from .utils import * +from .diffuser import * def _mindspore_version_check(): @@ -68,7 +69,6 @@ def _mindspore_version_check(): f"Please pay attention to the above warning, countdown: {i}") time.sleep(1) - _mindspore_version_check() __all__ = [] @@ -82,3 +82,4 @@ __all__.extend(pde.__all__) __all__.extend(sciops.__all__) __all__.extend(solvers.__all__) __all__.extend(utils.__all__) +__all__.extend(diffuser.__all__) diff --git a/mindscience/diffuser/__init__.py b/mindscience/diffuser/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..733e4a2c2fe9a46f59042dd82fe7e80e4a99855f --- /dev/null +++ b/mindscience/diffuser/__init__.py @@ -0,0 +1,19 @@ +# Copyright 2025 Huawei Technologies Co., Ltd +# +# Licensed 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. +# ============================================================================ +""" +init +""" + +__all__ = []