code: def testBidirectionalFalse(self, data, bidirectional):
      paraphrase_problem = (
          paraphrase_ms_coco.ParaphraseGenerationProblem()
      )
      paraphrase_problem.bidirectional = False
  
      expected_generated_data = [
          {"inputs": "sentence1", "targets": "sentence2"}
      ]
      actual_generated_data = list(
          paraphrase_problem.generate_samples(
              "data_dir", "tmp_dir", "dataset_split"
          )
      )
      self.assertEqual(actual_generated_data, expected_generated_data)
  
file_path: tensor2tensor/tensor2tensor/data_generators/paraphrase_ms_coco_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import mock
  from tensor2tensor.data_generators import paraphrase_ms_coco
  import tensorflow.compat.v1
label_desc: Use image node_id 3 for calling the ParaphraseGenerationProblemTest obj's underlying member method code with example usage: obj.testBidirectionalFalse(data, bidirectional) without return types