MCPcopy Create free account
hub / github.com/alibaba/GraphScope / _attach_learning_instance

Method _attach_learning_instance

python/graphscope/framework/graph.py:1406–1411  ·  view source on GitHub ↗

Store the instance when a new learning instance is created. Args: instance: learning instance

(self, instance)

Source from the content-addressed store, hash-verified

1404 self._interactive_instance_list.append(instance)
1405
1406 def _attach_learning_instance(self, instance):
1407 """Store the instance when a new learning instance is created.
1408 Args:
1409 instance: learning instance
1410 """
1411 self._learning_instance_list.append(instance)
1412
1413 def _close_interactive_instances(self):
1414 for instance in self._interactive_instance_list:

Callers 2

graphlearnMethod · 0.80
graphlearn_torchMethod · 0.80

Calls 1

appendMethod · 0.65

Tested by

no test coverage detected