Loading TOC...

cntk.valueErase

cntk.valueErase(
   $value as cntk.value
) as empty sequence

Summary

Erase the data of the value.

Parameters
$value The value whose data will be erased.

Example

  var variable = cntk.inputVariable(cntk.shape([2,2]), "float", fn.false(),
    fn.false(), "feature")
  var value = cntk.value(cntk.shape([2,2]), [1,2,3,4], cntk.cpu(), "float")
  var new_value = cntk.valueDeepClone(value)
  var $erase = cntk.valueErase(new_value)
  xdmp.quote(new_value)
  => cntk.value(Invalid CNTK Value)

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