code: def test_block_freeze_bn():
      net = gcv.model_zoo.get_model("resnet18_v1")
      gcv.utils.recursive_visit(
          net, check_bn_frozen_callback, value=False
      )
      gcv.utils.freeze_bn(net, True)
      gcv.utils.recursive_visit(
          net, check_bn_frozen_callback, value=True
      )
      gcv.utils.freeze_bn(net, False)
      gcv.utils.recursive_visit(
          net, check_bn_frozen_callback, value=False
      )
  
imports: from __future__ import print_function
  import numpy
  import gluoncv
  from mxnet.gluon.nn import BatchNorm
label_desc: Use image node_id 2 for calling a global function with example usage: test_block_freeze_bn() without return types