-
-
Save mdfarragher/540a8058f2d6f928059f1b6e0fc00204 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// create the label variable | |
var contentAndStyle = model.GetContentAndStyleLayers(); | |
var labelVariable = new List<CNTK.Variable>(); | |
for (int i = 0; i < labels.Length; i++) | |
{ | |
var shape = contentAndStyle[i].Shape; | |
var input_variable = CNTK.Variable.InputVariable(shape, CNTK.DataType.Float, "content_and_style_" + i); | |
labelVariable.Add(input_variable); | |
} | |
// 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