-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I've tried using radix=4 on forest. However I get the following error.
File ~/gits/synth_opt_adders/src/pptrees/ExpressionTree.py:108, in ExpressionTree.__init__(self, width, in_ports, out_ports, name, start_point, alias, no_shape, radix, idem, leaf_labels, node_defs)
106 cocycle_out_shape = [self.radix * x for x in cocycle_out_shape]
107 if cocycle_out_shape != self.cocycle_shape:
--> 108 raise ValueError(
109 (
110 "The main recurrence node of the tree"
111 " must have the same input and output shape"
112 )
113 )
114 del cocycle_out_shape
116 # Check that node shapes are compatible with port shapes
117 ### NOTE: INPUT SHAPE IS CURRENTLY ASSUMED TO BE [1,1,1,..]
118 ### TO-DO: Allow for arbitrary input shape
119 ### Need to check whole file for this implicit assumption
ValueError: The main recurrence node of the tree must have the same input and output shapeReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels