docstr: Redirect the jvalue to the proper python class.
  :param jvalue: Java object create by Py4j
  :return: A proper Python wrapper which would be a Model, Sequential...
docstr_tok: ["Redirect","the","jvalue","to","the","proper","python","class",".",":","param","jvalue",":","Java","object","create","by","Py4j",":","return",":","A","proper","Python","wrapper","which","would","be","a","Model",",","Sequential","..."]
code: def get_python_class(self):
      """
      Redirect the jvalue to the proper python class.
      :param jvalue: Java object create by Py4j
      :return: A proper Python wrapper which would be a Model, Sequential...
      """
  
      jpackage_name = ".".join(self.jfullname.split(".")[:-1])
      pclass_name = self._get_py_name(self.jfullname.split(".")[-1])
      if self.jfullname in (
          "com.intel.analytics.bigdl.dllib.keras.Sequential",
          "com.intel.analytics.bigdl.dllib.keras.Model",
      ):
          base_module = self._load_ppackage_by_jpackage(self.jfullname)
      else:
          base_module = self._load_ppackage_by_jpackage(jpackage_name)
      if pclass_name in dir(base_module):
          pclass = getattr(base_module, pclass_name)
          invalidInputError(
              "from_jvalue" in dir(pclass),
              "pclass: {} should implement from_jvalue method".format(
                  pclass
              ),
          )
          return pclass
      invalidInputError(
          False, "No proper python class for: {}".format(self.jfullname)
      )
  
file_path: BigDL/python/dllib/src/bigdl/dllib/net/net_load.py
imports: import importlib
  import os
  import sys
  from bigdl.dllib.utils.file_utils import callZooFunc
  from bigdl.dllib.nn.layer import Model
  from bigdl.dllib.net.graph_net import GraphNet
  from bigdl.dllib.utils.log4Error import *
label_desc: Use image node_id 2 for calling the JavaToPython obj's underlying member method code with example usage: obj.get_python_class() and returns: pclass