Skip to content

preprocess_item()中入度求解问题 #192

@JeremySun1224

Description

@JeremySun1224

wrapper.py line 53中的preprocess_item()中
item.in_degree = adj.long().sum(dim=1).view(-1)
如果是为了求入度, 是否应该是dim=0? (不过本例中都是无向图, 所以没有出错.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions