code: def test_dc_hybridblock_dynamic_shape():
      class MyBlock(mx.gluon.HybridBlock):
          def __init__(self):
              super().__init__()
              self.dense = mx.gluon.nn.Dense(units=10)
  
          def forward(self, x, idx):
              return x[idx].reshape((2, 2)), mx.np.flatnonzero(
                  self.dense(x)
              )
  
      def setup(*, nd):
          assert nd is mx.np
          x = mx.np.array([[0, 1], [1, 1], [2, 2]])
          return [x, x < 2]
  
      with mx.util.np_shape(True), mx.util.np_array(True):
          net = MyBlock()
          net.initialize()
          _assert_dc_gluon(setup, net, numpy=True)
  
imports: import functools
  import operator
  import numpy
  import mxnet
  import mxnet._deferred_compute
  from mxnet.base import MXNetError
  from mxnet.util import TemporaryDirectory
  import pytest
label_desc: Use image node_id 35 for calling a global function with example usage: test_dc_hybridblock_dynamic_shape() and returns: list, x,  mx