Loss Functions in Scala Symbol API


#1

Hello, I have some questions about the Scala API for the Symbol library.

I’m trying to figure out how to do something like this https://github.com/ufoym/mxnet/blob/master/example/vae/VAE.py#L83, however it seems the Scala Symbol API does not allow the mixing of symbols and constants like the python library does.

It seems like if I want to use constants in my loss functions I’m going to have to have a very large argsDict when I go to train since every variable in the loss function definition will have to be symbolic. Is there a better way to do this?