samna.graph#

Submodules#

Module content#

class samna.graph.JitSink#

Bases: pybind11_object

JitSink allows the just-in-time creation of a sink node for any given type in the sequential call.

class samna.graph.JitSource#

Bases: pybind11_object

JitSource allows the just-in-time creation of a source node for a type specified by the user in the constructor. Must be used in the graph sequential call.

samna.graph.sink_from(arg0: samna.iris.NodeInterface) samna.iris.NodeInterface#

Creates a BasicSinkNode and connect it to the given node.

Parameters:

node (NodeInterface) – node to connect to.

samna.graph.source_to(arg0: samna.iris.NodeInterface) samna.iris.NodeInterface#

Creates a BasicSourceNode and connect it to the given node.

Parameters:

node (NodeInterface) – node to connect to.