code: def setBeamSize(self, value):
      """Sets the number of beam size for beam search.
  
      Parameters
      ----------
      value : int
          Number of beam size for beam search
      """
      return self._set(beamSize=value)
  
imports: from pyspark.ml.param import Param, Params, TypeConverters
label_desc: Use image node_id 10 for calling a global function with example usage: setBeamSize(value) and returns: self