# \[RLlib\] Variable-length Observation Spaces without padding

**URL:** <https://discuss.ray.io/t/rllib-variable-length-observation-spaces-without-padding/726>\
**Category:** RLlib\
**Created:** [February 4, 2021, 2:07pm UTC](https://discuss.ray.io/t/rllib-variable-length-observation-spaces-without-padding/726 "2021-02-04T14:07:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![klausk55](https://avatars.discourse-cdn.com/v4/letter/k/f17d59/32.png) [@klausk55](https://discuss.ray.io/u/klausk55)\
**Post date:** [February 4, 2021, 3:19pm UTC](https://discuss.ray.io/t/rllib-variable-length-observation-spaces-without-padding/726/2 "2021-02-04T15:19:35Z")

</div>

@alexanderb14 is your custom model a TF Keras model?  
I am interested in how you try to handle variable-sized inputs in your model?

BTW: I think it is helpful when you label your question “rllib”

---

_[View the full topic](https://discuss.ray.io/t/rllib-variable-length-observation-spaces-without-padding/726)._
