-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
The behaviour of parametrized_dag_factory
is not too intuitive: one gets the following
@code_to_dag
def testdag():
a = criss(x,y)
b = cross(aa, bb)
c = apple(a, b)
dag_factory = parametrized_dag_factory(testdag, 'a')
Sig(dag_factory(x=1,y=2))
# <Sig (b)>but the expected might be <Sig (aa, bb)> ?
Also, when a function in the dag has no params, the parametrized_dag is not consistent with the above:
@code_to_dag
def testdag():
a = criss()
b = cross(aa, bb)
c = apple(a, b)
dag_factory = parametrized_dag_factory(testdag, 'a')
Sig(dag_factory())
# <Sig (a, b)> # to be consistent with the above, it should be Sig (b)Metadata
Metadata
Assignees
Labels
No labels