Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

generate_mask_tensor #2373

Closed
ch3njust1n opened this issue Nov 27, 2020 · 1 comment
Closed

generate_mask_tensor #2373

ch3njust1n opened this issue Nov 27, 2020 · 1 comment

Comments

@ch3njust1n
Copy link

馃摎 Documentation

5.1 Node Classification/Regression
Please add the code for the generate_mask_tensor() function that's referenced. I can't find this in any of the tutorials. This would be very valuable to have. Thanks!

@HuXiangkun
Copy link
Collaborator

Hi, function generate_mask_tensor converts a numpy mask into a tensor of different backend for builtin datasets:

def generate_mask_tensor(mask):

So if user wants to create a dataset, the training, validation and testing mask are generated by the user.

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

No branches or pull requests

3 participants