Open anjishnu opened 7 years ago
@reminisce can you help take a look at this issue?
Relevant thread : https://discuss.mxnet.io/t/cross-product-style-architectures-with-gluon/271/3
The model doesn't throw an exception on the latest mainline branch built from source, but I haven't gotten the network produce anything other than the same prediction for every sample.
And it throws an exception if I try to apply batch-normalization to stabilize training.
I was trying to implement a Relational Network: https://arxiv.org/abs/1706.01427 It seems to be related to using for loops within the forward pass, which I assumed would be supported since the API is similar to pytorch
Implementation is below
The error I'm getting is
Is there a different way to implement this that may avoid this issue?
I guess I essentially need to do the equivalent of the code below, but with the all_relations array being a memory view of the original array rather than a copy, does anyone know of a good tutorial or example of how to implement this with the NDArray API?