mindspore_gl.graph
Graph abstraction and data interface.
ADD the self loop from the input coo matrix. |
|
Get laplacian matrix. |
|
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 in-memory homo graph. |
|
PadArray2d, specific pad operator for 2d array. |
|
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. |