gops

This is summary documentation for hippynn.graphs.gops module. Click here for full documentation.

Links to Full Documentation:

Graph Operations (“gops”) that process or transform a set of nodes.

Functions

check_evaluation_order(...)

Validate an evaluation order.

check_link_consistency(node_set)

Make sure that back-links in the graph are correct.

compute_evaluation_order(all_nodes)

Computes the evaluation order for forward computation.

copy_subgraph(required_nodes, assume_inputed)

Copy a subgraph for the required nodes.

get_subgraph(required_nodes)

Get the subgraph associated with some target (required) nodes.

merge_children(start_nodes)

Merge the children of some seed nodes if those children are identical.

merge_children_recursive(start_nodes)

Merge children of some seed nodes if they are identical computations, and apply to future children until no more merges can be performed.

replace_node(old_node, new_node[, ...])

replace_node_with_constant(node, value[, name])

search_by_name(nodes, name_or_dbname)

Look for a unique related node with a given db_name or name.

Exceptions

GraphInconsistency