Skip to content
Discussion options

You must be logged in to vote

One way to do this is as follows.

  1. torch.cartesian_prod(torch.arange(196), torch.arange(196)).T create a fully connected graph.
  2. use dropout_adj with training as true, to sample edges.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ahmedramly
Comment options

@wsad1
Comment options

@rusty1s
Comment options

@ahmedramly
Comment options

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