original_docstring: 
      trims dataset to a size that's divisible by BATCH_SIZE
      
docstring: trims dataset to a size that's divisible by BATCH_SIZE
docstring_tokens: trims dataset to a size that ' s divisible by BATCH_SIZE
code: def trim_dataset(mat,batch_size):
      """
      trims dataset to a size that's divisible by BATCH_SIZE
      """
      no_of_rows_drop = mat.shape[0]%batch_size
      if no_of_rows_drop > 0:
          return mat[:-no_of_rows_drop]
      else:
          return mat
code_tokens: def trim_dataset ( mat , batch_size ) : no_of_rows_drop = mat . shape [ 0 ] % batch_size if no_of_rows_drop > 0 : return mat [ : - no_of_rows_drop ] else : return mat
short_docstring: trims dataset to a size that's divisible by BATCH_SIZE
short_docstring_tokens: trims dataset to a size that ' s divisible by BATCH_SIZE
comment: """
      trims dataset to a size that's divisible by BATCH_SIZE
      """