"examples/pytorch/vscode:/vscode.git/clone" did not exist on "77968e30b52419c3bcf080004f269449ab2f0ae9"
Commit be696d2c authored by rusty1s's avatar rusty1s
Browse files

typo

parent 3eb4a596
......@@ -66,7 +66,7 @@ def dropout(adj_t: SparseTensor, p: float, training: bool = True):
value = F.dropout(adj_t.storage.value(), p=p)
adj_t = adj_t.set_value(value, layout='coo')
else:
mask = torch.rand(adj_t.nnz(), device=adj_t.storage().row.device) > p
mask = torch.rand(adj_t.nnz(), device=adj_t.storage.row().device) > p
adj_t = adj_t.masked_select_nnz(mask, layout='coo')
return adj_t
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment