class_docstr: Abstract base clase which all transduction problems inherit from.
    
class_docstr_tok: ["Abstract","base","clase","which","all","transduction","problems","inherit","from","."]
code: def generate_samples(self, data_dir, tmp_dir, dataset_split):
      for _ in range(self.num_samples(dataset_split)):
          source = self.generate_random_sequence(dataset_split)
          target = self.transpose_sequence(source)
          yield {
              "inputs": " ".join(source),
              "targets": " ".join(target),
          }
  
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 14 for calling the TransductionProblem obj's underlying member method code with example usage: obj.generate_samples(data_dir, tmp_dir, dataset_split) without return types