# Wrong input size - expected matrix

**URL:** <https://community.konduit.ai/t/wrong-input-size-expected-matrix/566>\
**Category:** DL4J\
**Created:** [May 30, 2020, 12:51pm UTC](https://community.konduit.ai/t/wrong-input-size-expected-matrix/566 "2020-05-30T12:51:23Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![will-maclean](https://avatars.discourse-cdn.com/v4/letter/w/94ad74/32.png) [@will-maclean](https://community.konduit.ai/u/will-maclean)\
**Post date:** [June 1, 2020, 1:04am UTC](https://community.konduit.ai/t/wrong-input-size-expected-matrix/566/3 "2020-06-01T01:04:45Z")

</div>

Makes perfect sense - I managed to get it going by specifying 1x23 as the shape for the input vector but didn’t realise it works because the batch size is first. Thanks

---

_[View the full topic](https://community.konduit.ai/t/wrong-input-size-expected-matrix/566)._
