class_docstr: Args:
      SparkSession (SparkSession): The SparkSession that will be used to find the model
      location (str): The location of the model, either on local or HDFS
class_docstr_tok: ["Args",":","SparkSession","(","SparkSession",")",":","The","SparkSession","that","will","be","used","to","find","the","model","location","(","str",")",":","The","location","of","the","model",",","either","on","local","or","HDFS"]
docstr: Transforms the embedded com.microsoft.azure.synapse.ml.core.serialize.params from the companion Java object.
docstr_tok: ["Transforms","the","embedded","com.microsoft.azure.synapse.ml.core.serialize.params","from","the","companion","Java","object","."]
code: def _transfer_map_from_java(self, param):
      """
      Transforms the embedded com.microsoft.azure.synapse.ml.core.serialize.params from the companion Java object.
      """
      sc = SparkContext._active_spark_context
      if self._java_obj.hasParam(param.name):
          java_param = self._java_obj.getParam(param.name)
          if self._java_obj.isSet(java_param):
              java_map = self._java_obj.getOrDefault(
                  java_param
              ).toList()
              pairs = [
                  java_map.apply(i) for i in range(java_map.length())
              ]
              py_map = {p._1(): p._2() for p in pairs}
              self._set(**{param.name: py_map})
  
imports: import sys
  from synapse.ml.cntk._CNTKModel import _CNTKModel
  from pyspark.ml.common import inherit_doc, _java2py, _py2java
  from pyspark import SparkContext
label_desc: Use image node_id 1 for calling the CNTKModel obj's underlying member method code with example usage: obj._transfer_map_from_java(param) without return types