class_docstr: Mixin for param batchSize: batch size.
class_docstr_tok: ["Mixin","for","param","batchSize",":","batch","size","."]
code: def __init__(self):
      super(HasBatchSize, self).__init__()
      #: param for batch size.
      self.batchSize = Param(self, "batchSize", "batchSize")
      self._setDefault(batchSize=1)
  
imports: from pyspark.ml.pipeline import Estimator, Model
  from pyspark.ml.param.shared import *
  from bigdl.dllib.utils.common import *
  import sys
label_desc: Use image node_id 1 to create a new HasBatchSize object from inherited base classes: Params with example: obj = HasBatchSize()