Loading

摘要: 参考资料 colab教程 PyTorch Geometric opts for another approach to achieve parallelization across a number of examples. Here, adjacency matrices are stacked 阅读全文
posted @ 2023-03-21 21:34 摇头晃脑学知识 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 原链接:邻接矩阵转稀疏矩阵 邻接矩阵转稀疏矩阵 Example: import scipy.sparse as sp import numpy as np import torch adj_matrix = torch.randint(0,2,(4,4)) print(adj_matrix) # 输 阅读全文
posted @ 2023-03-21 21:24 摇头晃脑学知识 阅读(1936) 评论(0) 推荐(0) 编辑