Get Started
Tutorials
API Reference
dgl.init.
zero_initializer
Zero feature initializer
Examples
>>> import dgl >>> g = dgl.DGLGraph() >>> g.set_n_initializer(dgl.init.zero_initializer)
See also
dgl.DGLGraph.set_n_initializer(), dgl.DGLGraph.set_e_initializer()
dgl.DGLGraph.set_n_initializer()
dgl.DGLGraph.set_e_initializer()