You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SparseConnectivityTracer currently only works with scalar and array inputs.
Returning the sparsity pattern of a Jacobian requires enumerating index sets for the inputs and outputs. Since this can be done for arbitrarily nested tuples and arrays, we should be able to support them.
The same holds for Hessians, which only require the creation of an index set for the inputs.
The text was updated successfully, but these errors were encountered:
adrhill
changed the title
Support more input types by enumerating nested inputs
Support more input types
Apr 30, 2024
SparseConnectivityTracer currently only works with scalar and array inputs.
Returning the sparsity pattern of a Jacobian requires enumerating index sets for the inputs and outputs. Since this can be done for arbitrarily nested tuples and arrays, we should be able to support them.
The same holds for Hessians, which only require the creation of an index set for the inputs.
The text was updated successfully, but these errors were encountered: