Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support more input types #28

Closed
adrhill opened this issue Apr 30, 2024 · 2 comments
Closed

Support more input types #28

adrhill opened this issue Apr 30, 2024 · 2 comments
Labels
enhancement New feature or request input tracing Issue regarding creation of tracers from input.

Comments

@adrhill
Copy link
Owner

adrhill commented 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.

@adrhill adrhill changed the title Support more input types by enumerating nested inputs Support more input types Apr 30, 2024
@adrhill adrhill added the enhancement New feature or request label May 1, 2024
@adrhill
Copy link
Owner Author

adrhill commented Jun 24, 2024

A use-case to support for inputs from SparseArrays.jl has come up in #131.

@adrhill adrhill added the input tracing Issue regarding creation of tracers from input. label Aug 7, 2024
@adrhill
Copy link
Owner Author

adrhill commented Aug 7, 2024

Closing in favor of more specific issues like #145 and #147.

@adrhill adrhill closed this as completed Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request input tracing Issue regarding creation of tracers from input.
Projects
None yet
Development

No branches or pull requests

1 participant