Skip to content

add sampling paradigm#10

Open
infinity1009 wants to merge 31 commits intoPKU-DAIR:mainfrom
infinity1009:ssq-dev
Open

add sampling paradigm#10
infinity1009 wants to merge 31 commits intoPKU-DAIR:mainfrom
infinity1009:ssq-dev

Conversation

@infinity1009
Copy link
Copy Markdown
Contributor

No description provided.

if x is not None:
if isinstance(x, np.ndarray):
x = torch.FloatTensor(x)
x = torch.FloatTensor(x) #这里是原始实现,但是是有bug的
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

具体是什么bug?

import torch
import warnings
from scipy.sparse import csr_matrix
from torch_geometric.utils import index_to_mask
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this import not used?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be excluded?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants