/*! * Copyright (c) 2021 by Contributors * \file graph/transform/to_bipartite.h * \brief Array operator templates */ #ifndef DGL_GRAPH_TRANSFORM_TO_BIPARTITE_H_ #define DGL_GRAPH_TRANSFORM_TO_BIPARTITE_H_ #include #include #include #include namespace dgl { namespace transform { template std::tuple, std::vector> ToBlock(HeteroGraphPtr graph, const std::vector &rhs_nodes, bool include_rhs_in_lhs); } // namespace transform } // namespace dgl #endif // DGL_GRAPH_TRANSFORM_TO_BIPARTITE_H_