For example, I want to get the eid of whose edge attribute like weight is larger than 0.8?
weight
You may try DGLGraph.filter_edges.