opto.trace.nodes

opto.trace.nodes#

Functions

get_op_name

Extract the operator type from the description.

node

Create a Node object from data.

Classes

AbstractNode

AbstractNode represents an abstract data node in a directed graph.

ExceptionNode

Node containing the exception message.

Graph

Graph is a registry of all the nodes, forming a Directed Acyclic Graph (DAG).

MessageNode

A node representing the output of an operator.

Node

A data node in a directed graph, this is a basic data structure of Trace.

NodeVizStyleGuide

A class to provide a standardized way to visualize nodes in a graph.

NodeVizStyleGuideColorful

A class to provide a colorful style guide for visualizing nodes in a graph.

ParameterNode

Initialize an instance of the Node class.