-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
Some implementations of the matrix exponential does a decision of which computation should be done based on A^2
, A^4
(and A^8
?). This does not fit perfectly with the way our generated code, since the computation of these powers are integrated into the generated code.
Proposed approach: Generated code can be generated without the computation of specific nodes, which are assumed to be precomputed.
For example
gen_code(graph,precomputed_nodes=[:A2,:A4])
would generate computation where the operations to get :A2
and :A4
are treated differently. Maybe effectively they are also inputs? cf discussion in #9
More details to be specified.
Metadata
Metadata
Assignees
Labels
No labels