DGL
0.1.x
Get Started
Install DGL
Tutorials
Basic Tutorials
Graph-based Neural Network Models
API Reference
API Reference
DGLGraph – Graph with node/edge features
Adding nodes and edges
Querying graph structure
dgl.DGLGraph.number_of_nodes
dgl.DGLGraph.number_of_edges
dgl.DGLGraph.__len__
dgl.DGLGraph.is_multigraph
dgl.DGLGraph.has_node
dgl.DGLGraph.has_nodes
dgl.DGLGraph.__contains__
dgl.DGLGraph.has_edge_between
dgl.DGLGraph.has_edges_between
dgl.DGLGraph.predecessors
dgl.DGLGraph.successors
dgl.DGLGraph.edge_id
dgl.DGLGraph.edge_ids
dgl.DGLGraph.find_edges
dgl.DGLGraph.in_edges
dgl.DGLGraph.out_edges
dgl.DGLGraph.all_edges
dgl.DGLGraph.in_degree
dgl.DGLGraph.in_degrees
dgl.DGLGraph.out_degree
dgl.DGLGraph.out_degrees
Transforming graph
Converting from/to other format
Using Node/edge features
Computing with DGLGraph
Feature Initializer
BatchedDGLGraph – Enable batched graph operations
Builtin functions
Graph Traversal
Message Propagation
User-defined function related data structures
Graph samplers
Dataset
FAQ
Environment Variables
DGL
Docs
»
API Reference
»
DGLGraph – Graph with node/edge features
»
dgl.DGLGraph.__len__
Edit on GitHub
dgl.DGLGraph.__len__
¶
DGLGraph.
__len__
(
)
[source]
¶
Return the number of nodes in the graph.
Read the Docs
v: 0.1.x
Versions
latest
0.1.x
Downloads
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.