Skip to content

Automatic handling of batching #47

@THargreaves

Description

@THargreaves

There are many places where our code could be simplified by writing generic code that automatically handled batching (rather than requiring special code for batched filtering). This is especially important when we consider multiple levels of batching, e.g. a Gaussian sum filter on multiple independent targets (which has two batch dimensions).

It should be possible to handle this all automatically with the right sort of dispatching (since the algorithms are exactly the same). This is exactly how you would do it in Python (TF/JAX/PyTorch) where you would write the KF algorithm in a single matrix setting and broadcasting would make it work automatically in batch settings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    designHigh-level design designs

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions