mirror of
https://github.com/dmlc/dgl.git
synced 2026-06-06 20:04:24 +08:00
* Add PathEncoder to transformer.py * add blank line at the and * rename variabl sp to shortest_path * Fixed corresponding problems * Fixed certain bugs when running on CUDA * changed clamp min from 0 to 1 Co-authored-by: Ubuntu <ubuntu@ip-172-31-14-146.ap-northeast-1.compute.internal> Co-authored-by: Mufei Li <mufeili1996@gmail.com>