`torch.vmap` (或其他形式的并行) 支持 `odeint_event`
作者: LucasGrasso创建于 2026年6月16日更新于 2026年8月11日
我以为这会很有用,而且可以解决“Learning Neural Event Functions for Ordinary Differential Equations”(https://arxiv.org/abs/2011.03902)论文中描述的小批量化难题。要如何在odeint_event上使用vmap呢?
内容来源: rtqichen/torchdiffeq