Loading TOC...

cntk.variableFromFunction

cntk.variableFromFunction(
   $function as cntk.function
) as cntk.variable

Summary

Constructs an output variable aliasing the output of the specified function. Throws exception if the specified function has multiple outputs.

Parameters
$function The function whose output variable is to be aliased.

Example

  var model = cts.doc("AlexNet.model")
  var function1 = cntk.function(model.root, cntk.cpu())
  cntk.variableFromFunction(function1)

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.