安装 PyG
开始使用
教程
高级概念
包参考
速查表
外部资源
Bases: GraphGenerator
GraphGenerator
生成二维网格图。 有关更多信息,请参见grid()。
grid()
height (int) – 网格的高度。
width (int) – 网格的宽度。
dtype (torch.dtype, 可选) – 返回的位置张量的期望数据类型。(默认: None)
torch.dtype
None