So I would expect to get an output array of size 8000 (100 * 80). However, I get an array of size 80. After looking at the modelLayersMap of the model in the developer console, I found out that the dimension is (100, 256) as expected on reshape but gets cut down to (1, 32) at dense1. Here is the relevant part of the JSON:
As far as I know, it's fairly uncommon to have a dense layer with 2D output, but I need it for this model. It would be great if this could be added!
I am trying to run a CTC Model in the browser. In keras, it looks like this:
So I would expect to get an output array of size 8000 (100 * 80). However, I get an array of size 80. After looking at the
modelLayersMap
of the model in the developer console, I found out that the dimension is (100, 256) as expected onreshape
but gets cut down to (1, 32) atdense1
. Here is the relevant part of the JSON:As far as I know, it's fairly uncommon to have a dense layer with 2D output, but I need it for this model. It would be great if this could be added!