# \[ANN-RFC\] TopoChains.jl v0.1 - flexibly define multi-input multi-output models

**URL:** <https://discourse.julialang.org/t/ann-rfc-topochains-jl-v0-1-flexibly-define-multi-input-multi-output-models/62759>\
**Category:** Package Announcements\
**Tags:** machine-learning\
**Created:** [June 11, 2021, 7:49pm UTC](https://discourse.julialang.org/t/ann-rfc-topochains-jl-v0-1-flexibly-define-multi-input-multi-output-models/62759 "2021-06-11T19:49:54Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![reemmasoud123](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/reemmasoud123/32/26181_2.png) [@reemmasoud123](https://discourse.julialang.org/u/reemmasoud123)\
**Post date:** [June 20, 2021, 3:43pm UTC](https://discourse.julialang.org/t/ann-rfc-topochains-jl-v0-1-flexibly-define-multi-input-multi-output-models/62759/3 "2021-06-20T15:43:32Z")

</div>

> [@LSTM training for a sequence of multiple features using a batch size 30](https://discourse.julialang.org/t/lstm-training-for-a-sequence-of-multiple-features-using-a-batch-size-30/63238):
>
> I am trying to do batch training using LSTM for a time series data with multiple features. Assuming I have 5000 samples and 5 features for each sample. The input uses 14 days into the past and the output is a single value on the 15th day. (My time step is 14). The size of my data is the following: xtrain: (5000,14,5) ytrain: (5000,1,1) My model is below. How do I train my data by using a batch size of 30? I tried using DataLoader and Flux.train but they are both not working with this input s…

Hello,

I posted the above question, and I was wondering if TopoChains can be used to solve my issue of multiple features in a sequence? If so, can you please demonstrate.

---

_[View the full topic](https://discourse.julialang.org/t/ann-rfc-topochains-jl-v0-1-flexibly-define-multi-input-multi-output-models/62759)._
