class_docstr: Placeholder docstring
class_docstr_tok: ["Placeholder","docstring"]
docstr: Group together as many records as possible to fit in the specified size.
  
  Args:
      file (str): file path to read the records from.
      size (int): maximum size in MB that each group of records will be
          fitted to. passing 0 means unlimited size.
  
  Returns:
      generator of records
code: def pad(self, file, size):
      """Group together as many records as possible to fit in the specified size.
  
      Args:
          file (str): file path to read the records from.
          size (int): maximum size in MB that each group of records will be
              fitted to. passing 0 means unlimited size.
  
      Returns:
          generator of records
      """
  
imports: from __future__ import absolute_import
  import os
  import platform
  import sys
  import tempfile
  from abc import ABCMeta
  from abc import abstractmethod
  from six import with_metaclass
  from six.moves.urllib.parse import urlparse
  import sagemaker.amazon.common
  import sagemaker.local.utils
  import sagemaker.utils
label_desc: Use image node_id 2 for calling the BatchStrategy obj's underlying member method code with example usage: obj.pad(file, size) without return types