class_docstr: Abstract base clase which all transduction problems inherit from.
    
class_docstr_tok: ["Abstract","base","clase","which","all","transduction","problems","inherit","from","."]
docstr: Used to split up datasets into multiple files.
docstr_tok: ["Used","to","split","up","datasets","into","multiple","files","."]
code: def num_shards(self):
      """Used to split up datasets into multiple files."""
      return 10
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import random
  from six.moves import range
  from tensor2tensor.data_generators import problem
  from tensor2tensor.data_generators import text_encoder
  from tensor2tensor.data_generators import text_problems
  from tensor2tensor.utils import registry
  import tensorflow.compat.v1
label_desc: Use image node_id 6 for calling the TransductionProblem obj's underlying member method code with example usage: obj.num_shards() and returns: int