DGL
入门
安装与设置
DGL 快速入门
进阶主题
🆕 使用 GraphBolt 进行 GNN 的随机训练
用户指南
用户指南【包含过时信息】
用户指南[已过时]
🆕 教程:图 Transformer
教程:dgl.sparse
在 CPU 上训练
在多 GPU 上训练
分布式训练
使用 DGL 进行论文学习
API 参考
dgl
dgl.data
dgl.dataloading
dgl.DGLGraph
dgl.distributed
dgl.function
dgl.geometry
🆕 dgl.graphbolt
dgl.nn (PyTorch)
dgl.nn.functional
dgl.ops
dgl.optim
dgl.sampling
dgl.sparse
稀疏矩阵类
SparseMatrix
创建操作
属性与方法
dgl.sparse.SparseMatrix.shape
dgl.sparse.SparseMatrix.nnz
dgl.sparse.SparseMatrix.dtype
dgl.sparse.SparseMatrix.device
dgl.sparse.SparseMatrix.val
dgl.sparse.SparseMatrix.row
dgl.sparse.SparseMatrix.col
dgl.sparse.SparseMatrix.indices
dgl.sparse.SparseMatrix.coo
dgl.sparse.SparseMatrix.csr
dgl.sparse.SparseMatrix.csc
dgl.sparse.SparseMatrix.coalesce
dgl.sparse.SparseMatrix.has_duplicate
dgl.sparse.SparseMatrix.to_dense
dgl.sparse.SparseMatrix.to
dgl.sparse.SparseMatrix.cuda
dgl.sparse.SparseMatrix.cpu
dgl.sparse.SparseMatrix.float
dgl.sparse.SparseMatrix.double
dgl.sparse.SparseMatrix.int
dgl.sparse.SparseMatrix.long
dgl.sparse.SparseMatrix.transpose
dgl.sparse.SparseMatrix.t
dgl.sparse.SparseMatrix.T
dgl.sparse.SparseMatrix.neg
dgl.sparse.SparseMatrix.reduce
dgl.sparse.SparseMatrix.sum
dgl.sparse.SparseMatrix.smax
dgl.sparse.SparseMatrix.smin
dgl.sparse.SparseMatrix.smean
dgl.sparse.SparseMatrix.softmax
运算符
dgl.multiprocessing
dgl.transforms
用户自定义函数
注意事项
贡献到 DGL
DGL 外部函数接口 (FFI)
性能基准测试
杂项
常见问题 (FAQ)
环境变量
资源
DGL
dgl.sparse
dgl.sparse.SparseMatrix.T
查看页面源码
dgl.sparse.SparseMatrix.T
property
SparseMatrix.
T
dgl.sparse.SparseMatrix.transpose() 的别名
Read the Docs
版本: latest
版本
下载
在 Read the Docs 上
项目主页
构建