Skip to content

Commit

Permalink
fix a bug in dgl_graph_compact.
Browse files Browse the repository at this point in the history
  • Loading branch information
zheng-da committed Nov 10, 2018
1 parent f966cd9 commit 461f6e8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/operator/dgl_graph.cc
Original file line number Diff line number Diff line change
Expand Up @@ -481,9 +481,7 @@ NNVM_REGISTER_OP(_contrib_dgl_graph_compact)
.set_attr<nnvm::FInferType>("FInferType", SubgraphCompactType)
.set_attr<FComputeEx>("FComputeEx<cpu>", SubgraphCompactComputeExCPU)
.set_attr<std::string>("key_var_num_args", "num_args")
.add_argument("graph", "NDArray-or-Symbol[]", "Input graphs.")
.add_argument("data", "NDArray-or-Symbol[]",
"The input arrays that indicate vertex Ids in the graphs.")
.add_argument("graph_data", "NDArray-or-Symbol[]", "Input graphs and input vertex Ids.")
.add_arguments(SubgraphCompactParam::__FIELDS__());

} // namespace op
Expand Down

0 comments on commit 461f6e8

Please sign in to comment.