How to use the Flatten layer with an input that has a dynamically sized dimension?
I have a model with an input (batch of images w/ shape (height, width, time)) that has a dynamically sized dimension (time), which is only determined at runtime. However, the Flatten
layer requires fully defined spatial dimensions. Code snippet example:
How to use the Flatten layer with an input that has a dynamically sized dimension?
I have a model with an input (batch of images w/ shape (height, width, time)) that has a dynamically sized dimension (time), which is only determined at runtime. However, the Flatten
layer requires fully defined spatial dimensions. Code snippet example:
How to use the Flatten layer with an input that has a dynamically sized dimension?
I have a model with an input (batch of images w/ shape (height, width, time)) that has a dynamically sized dimension (time), which is only determined at runtime. However, the Flatten
layer requires fully defined spatial dimensions. Code snippet example: