[NN] Add PathEncoder (#4956)
* 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>
Showing
Please register or sign in to comment