graph.graph_base.as_GraphHolder
- graph.graph_base.as_GraphHolder(g: GraphModule) GraphHolder[source]
 Encapsulate a
GraphModuleinside aGraphHolderThis function takes an existing
GraphModuleand wraps it in aGraphHoldermodule, by using the input and output nodes of the existing module.- Parameters:
 g (GraphModule) – A
GraphModuleto encapsulate- Returns:
 A
GraphHolderencapsulatingg- Return type: