mindspore_gl.graph
Graph abstraction and data interface.
ADD the self loop from the input coo matrix. |
|
Convert the batched graph in the COO format to the CSR format. |
|
Get laplacian matrix. |
|
Convert the entire graph in the COO format to the CSR format. |
|
graph laplacian normalization. |
|
Remove the diagonal matrix from the input matrix object, you can choose to operate on a dense matrix or a matrix in COO format. |
|
BatchHomoGraph, batch list of MindHomoGraph into a single MindHomoGraph with some batch_meta information. |
|
BatchMeta, meta information for a batched graph. |
|
Build the CSR matrix nametuple. |
|
Build homo graph. |
|
PadArray2d, specific pad operator for 2D array. |
|
PadCsrEdge, specific pad operator for coo edges. |
|
Padding Direction for 2d array specifically. |
|
Pad MindHomoGraph, We pad graph by adding additional nodes and edges between these nodes. |
|
Padding Mode, for graph and 2D array. |
|
Return list of MindHomoGraph from a Batched MindHomoGraph. |
|
Convert the sampling graph in the COO format to the CSR format. |