Skip to content

Instantly share code, notes, and snippets.

@mdfarragher
Created December 13, 2019 15:54
Show Gist options
  • Save mdfarragher/d20a264bae74cd661e02a9c1e67a2487 to your computer and use it in GitHub Desktop.
Save mdfarragher/d20a264bae74cd661e02a9c1e67a2487 to your computer and use it in GitHub Desktop.
// set up the loss functions
var discriminatorLoss = CNTK.CNTKLib.BinaryCrossEntropy(discriminator, labelVar);
var ganLoss = CNTK.CNTKLib.BinaryCrossEntropy(gan, labelVar);
// the rest of the code goes here...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment