花园宝宝战队 ----- 一阶段代码注释成果 #10

Open
bjutsecurity22 wants to merge 139 commits from bjutsecurity22/mindspore2022:master into master
1 changed files with 3 additions and 0 deletions
Showing only changes of commit 0acf5a4a68 - Show all commits

View File

@ -15,8 +15,11 @@
"""
Sparse related transformation.
"""
# 定义了一个名为sparse的模块其中包含了与稀疏相关转换的类和函数。
from .sparse import (SparseToDense, SparseTensorDenseMatmul)
# 首先我们从sparse模块中导入SparseToDense和SparseTensorDenseMatmul类。
# 最后,我们导出了这两个类,以便在其他地方使用
__all__ = [
"SparseToDense",
"SparseTensorDenseMatmul",