code: def get_image_classifier_mxnet_custom_ini():
      import mxnet
  
      w_conv2d = np.load(
          os.path.join(
              os.path.dirname(os.path.dirname(__file__)),
              "utils/resources/models",
              "W_CONV2D_MNIST.npy",
          )
      )
      b_conv2d = np.load(
          os.path.join(
              os.path.dirname(os.path.dirname(__file__)),
              "utils/resources/models",
              "B_CONV2D_MNIST.npy",
          )
      )
      w_dense = np.load(
          os.path.join(
              os.path.dirname(os.path.dirname(__file__)),
              "utils/resources/models",
              "W_DENSE_MNIST.npy",
          )
      )
      b_dense = np.load(
          os.path.join(
              os.path.dirname(os.path.dirname(__file__)),
              "utils/resources/models",
              "B_DENSE_MNIST.npy",
          )
      )
  
      w_conv2d_mx = w_conv2d.reshape((1, 1, 7, 7))
  
      alias = mxnet.registry.get_alias_func(
          mxnet.initializer.Initializer, "initializer"
      )
  
      @mxnet.init.register
      @alias("mm_init")
      class CustomInit(mxnet.init.Initializer):
          def __init__(self):
              super(CustomInit, self).__init__()
              self.params = dict()
              self.params["conv0_weight"] = w_conv2d_mx
              self.params["conv0_bias"] = b_conv2d
              self.params["dense0_weight"] = np.transpose(w_dense)
              self.params["dense0_bias"] = b_dense
  
          def _init_weight(self, name, arr):
              arr[:] = self.params[name]
  
          def _init_bias(self, name, arr):
              arr[:] = self.params[name]
  
      return CustomInit()
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import json
  import logging
  import os
  import pickle
  import time
  import unittest
  import warnings
  import sklearn
  import numpy
  from art.estimators.classification.tensorflow import TensorFlowV2Classifier
  from art.estimators.encoding.tensorflow import TensorFlowEncoder
  from art.estimators.generation.tensorflow import TensorFlowGenerator, TensorFlowV2Generator
  from art.estimators.gan.tensorflow import TensorFlowV2GAN
  from art.utils import load_dataset
label_desc: Use image node_id 24 for calling a global function with example usage: get_image_classifier_mxnet_custom_ini() and returns: CustomInit