cutcutcodec.core.compilation

Allows assembly graphs to be represented in different forms.

Some representations are suitable for the generation, others for data persistence and others for mathematical graph manipulation.

Details

Modules

ast_to_file

Export the ast tree into an excecutable python file.

export

Help to choose export parameters.

graph_to_ast

Compile an assembly graph into an evaluable source code of tree.

graph_to_json

Help for serialisation of assembly graph.

graph_to_tree

Compile an assembly graph into an evaluable tree.

json_to_graph

Help for deserialisation of a json representation of an assembly graph.

parse

Extracting information from string.

sympy_to_torch

The folowing optimisations are performed.

tree_to_graph

Create the graph from an cutcutcodec.core.classes.node.Node.