class_docstr: Enwiki8, with examples up to 2048 characters long.
  
  Reads the input byte-wise and chunks it into fragments of maximum
  length of 2048. Does not shift byte indices (we do not assume cls or
  pad are used), unlike the base class!
class_docstr_tok: ["Enwiki8",",","with","examples","up","to","2048","characters","long",".","Reads","the","input","byte-wise","and","chunks","it","into","fragments","of","maximum","length","of","2048",".","Does","not","shift","byte","indices","(","we","do","not","assume","cls","or","pad","are","used",")",",","unlike","the","base","class","!"]
code: def generate_encoded_samples(self, data_dir, tmp_dir, dataset_split):
      return self.generate_samples(data_dir, tmp_dir, dataset_split)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import zipfile
  from tensor2tensor.data_generators import generator_utils
  from tensor2tensor.data_generators import problem
  from tensor2tensor.data_generators import text_problems
  from tensor2tensor.utils import registry
  import tensorflow.compat.v1
label_desc: Use image node_id 2 for calling the Enwik8L2k obj's underlying member method code with example usage: obj.generate_encoded_samples(data_dir, tmp_dir, dataset_split) and returns: self