Skip to content
Snippets Groups Projects
Commit 29db5159 authored by Chang-Uk Jeong's avatar Chang-Uk Jeong
Browse files

Update introduction.rst

parent b40bc54d
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@
그래프는 객체(노드) 쌍의 관계(엣지)를 모델링하는 데 사용됩니다.
**PyG** 의 단일 그래프는 기본적으로 `torch_geometric.data.Data` 클래스(class)의 인스턴스(instance)로 설명되며, 기본적으로 다음 속성(attribute)들을 가지고 있습니다:
- `data.x`: 노드 특징 행렬(feature matrix)의 모양(shape)은 `[num_nodes, num_node_features]`
- `data.x`: 노드 특징 행렬(feature matrix)의 모양(shape)은 `[num_nodes, num_node_features]`
- `data.edge_index`: `COO format <https://pytorch.org/docs/stable/sparse.html#sparse-coo-docs>`_ 로 나타내어진 그래프의 연결 상태의 모양(shape)은 `[2, num_edges]` 그리고 타입은 `torch.long`
- `data.edge_attr`: 엣지 특징 행렬(feature matrix) 의 모양(shape)은 `[num_edges, num_edge_features]`
- `data.y`: 학습하고자 하는 타겟 (다양한 모양(shape)을 가질 수 있음), *e.g.*, 노드 수준의 타겟의 모양(shape)은 `[num_nodes, *]`, 또는 그래프 수준의 타겟의 모양(shape)은 `[1, *]`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment