The original paper has released their official implementation, and it is more recommended to refer to their GitHub repository.
A simple Bidirectional Mamba based on pytroch, follow the paper Bi-Mamba4TS: Bidirectional Mamba for Time Series Forecasting. The following model structure diagram is from this paper.