Amortized Parameter Inference for the Arbitrary-Order Hidden Markov Model | Synapse