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