jeertmans/DiffeRT

[DOC] Document when `compute_paths` can be JIT-compiled

開放

#337 建立於 2025年10月23日

 (0 則留言) (0 個反應) (0 位負責人)Python (10 個分叉)auto 404
documentationgood first issueneeds-triage

倉庫指標

星標
 (64 顆星)
PR 合併指標
 (平均合併 2天 7小時) (30 天內合併 24 個 PR)

描述

Terms

Describe the issue

As discussed in https://github.com/jeertmans/DiffeRT/pull/326#issuecomment-3437022985, the compute_paths method exhibits some challenges when it comes to JIT-compilation, as some cases, e.g., when setting disconnect_inactive_triangles to True, will create output arrays whose shapes depend on the values of the input arrays. This is not compatible with JAX's tracing system, this should probably be documented somewhere.

Affected page(s)

Issue type

Documentation enhancement

Recommended fix or suggestions

No response

貢獻者指南