Skip to content
Discussion options

You must be logged in to vote

ToSparseTensor has an argument called remove_edge_index. Set it to false while initializing it. When its true the function sets data.edge_index to None.

def __init__(self, remove_edge_index: bool = True, fill_cache: bool = True)

@rusty1s , do you think its useful to add a remove_edge_index argument to ToDense.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@chinmay5
Comment options

@wsad1
Comment options

Answer selected by chinmay5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants