I\'m working on my final project, trying to make variational autoencoder. For this I need custom loss function. But I\'ve got terrible errors because I\'ve got different types o