graphscope.graphlearn

graphscope.graphlearn(graph, nodes=None, edges=None, gen_labels=None)[source]

Create a graph learning engine.

See params detail in graphscope.Session.graphlearn()

Returns:

An instance of learning graph that could be feed to the learning engine, evaluated in eager node.

Return type:

graphscope.learning.GraphDAGNode

Example:

>>> import graphscope
>>> g = graphscope.g()
>>> lg = graphscope.learning(g)