dgl框架實現graphsage代碼流程梳理

代碼git地址:https://github.com/dmlc/dgl/blob/master/examples/pytorch/graphsage/train_sampling.py dgl在最近的4月份更新的0.4.3版本中增長了dgl.sampling.sample_neighbors的模塊,用來採樣鄰居節點,以前的版本里面實現的graphsage沒有作採樣,這裏記錄一下實現的代碼過程,對一
相關文章
相關標籤/搜索