Closed jaheba closed 4 years ago
Issue could be related to these objects being ndarrays independently of F: https://github.com/awslabs/gluon-ts/blob/c44f0a0041092be82302ab76356c2a5ee08ea3ee/src/gluonts/model/seq2seq/_forking_network.py#L88
@jaheba @lovvge @jgasthaus one possible fix here is to just not support hybridization for the models using this block (and therefore not test it), but it’s not ideal. The other option is to check whether mxnet now has some way of encoding an empty array as a symbol?
A third option would be that of reducing the interface of encoders and decoders to something simpler: just one tensor, which will contain the stacked target + dynamic features + (repeated, embedded) static features. That will remove some flexibility of course, and not allow treating these three channels independently.
I've tried installing mxnet 1.6 (pre-release) and running our tests with it.
There seems to be an issue with the RNNEncoder: