deepmd_gnn.edge#
Neighbor-list C++ op wrappers used by graph model export paths.
Functions#
| |
| |
| Build dense edge indices and validity mask with the C++ op. |
Module Contents#
- deepmd_gnn.edge._mm_tensor(mm_types: list[int]) torch.Tensor[source]#
- deepmd_gnn.edge._fake_dense_edge_index(nlist: torch.Tensor, _atype: torch.Tensor, _mm: torch.Tensor) tuple[torch.Tensor, torch.Tensor][source]#
- deepmd_gnn.edge.dense_edge_index(nlist: torch.Tensor, extended_atype: torch.Tensor, mm_types: list[int]) tuple[torch.Tensor, torch.Tensor][source]#
Build dense edge indices and validity mask with the C++ op.