code: def test_dc_hybridblock_deferred_init_no_infer_shape_error():
      class MyBlock(mx.gluon.HybridBlock):
          def __init__(self):
              super().__init__()
              self.dense = mx.gluon.nn.Dense(units=10)
              self.weight = mx.gluon.Parameter(
                  "weight", allow_deferred_init=True
              )
  
          def forward(self, x):
              return self.dense(x) + self.weight.data(x.context)
  
      net = MyBlock()
      net.initialize()
      data = mx.np.ones(
          shape=(8, 10), device=mx.device.current_device()
      )
      with pytest.raises(RuntimeError):
          net(data)
  
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 33 for calling a global function with example usage: test_dc_hybridblock_deferred_init_no_infer_shape_error() and returns: unknown