Unverified Commit 83437e67 authored by Andrei Ivanov's avatar Andrei Ivanov Committed by GitHub
Browse files

Removing the warning that appears in the Graph Transformer example (#6061)

parent ec7137dd
......@@ -181,7 +181,7 @@ if __name__ == "__main__":
evaluator = Evaluator("ogbg-molhiv")
# laplacian positional encoding
for g, _ in tqdm(dataset, desc="Computing Laplacian PE"):
g.ndata["PE"] = dgl.laplacian_pe(g, k=pos_enc_size, padding=True)
g.ndata["PE"] = dgl.lap_pe(g, k=pos_enc_size, padding=True)
# Create model.
out_size = dataset.num_tasks
......
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