Skip to content
Snippets Groups Projects
Commit 038ff74e authored by Hashim Sharif's avatar Hashim Sharif
Browse files

Renaming printDFG

parent 65f06a63
No related branches found
No related tags found
No related merge requests found
......@@ -116,10 +116,9 @@ class DFG:
self.last_node = cur_node
# Print the DFG in reverse postorder
def printDFG(self):
print ("\n\n ****** Printing DFG ******* \n\n")
#Build and Print the DFG in reverse postorder
def buildDFG(self):
print ("\n\n ****** Traversing and Printing DFG ******* \n\n")
visited_nodes = {}
# Starting traversal at the DFG root node
self.traverseNode(self.root_node, visited_nodes)
......@@ -855,8 +854,8 @@ def translate_to_approxhpvm(model, weights_dir, test_data=None, test_labels=None
# NOTE: Add DNN layer to graph
dfg.add_to_graph(layer)
# Print DFG in reverse postorder
dfg.printDFG()
# Build and Print DFG in reverse postorder
dfg.buildDFG()
print ("test_data.shape = ", test_data.shape, "\n")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment