Loading TOC...

cntk:variable-is-sparse

cntk:variable-is-sparse(
   $variable as cntk:variable
) as xs:boolean

Summary

Returns if the variable is sparse.

Parameters
$variable The input variable.

Example

  cntk:variable-is-sparse(cntk:input-variable(cntk:shape((3,4)), "float",fn:false(),
    fn:false(), "feature"))
  => false

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