code: def test_batch_dense_to_sparse_zeros():
      i, v, s = batch_dense_to_sparse(
          [
              [[1, 2, 3], [4, 0, 6]],
              [[0, 0, 0], [40, 50, 60]],
          ]
      )
      assert i == [
          [0, 1, 2, 4, 5],
          [1, 3, 5],
      ]
      assert v == [[1, 4, 2, 3, 6], [40, 50, 60]]
      assert s == (2, 3)
  
file_path: CNTK/bindings/python/cntk/ops/tests/ops_test_utils.py
imports: import os
  import numpy
  import cntk
  from cntk.tests.test_utils import *
  from cntk.device import cpu, gpu
  from ...ops.functions import Function
  from cntk.internal import sanitize_dtype_cntk
  from cntk.internal.utils import eval
  from ..None import constant
label_desc: Use image node_id 9 for calling a global function with example usage: test_batch_dense_to_sparse_zeros() without return types