code: def translate(self):
      self.model.eval()
      ret = self.inference_tool.predict(
          raw_contents=["list job on platformid0"], batch_size=1
      )
      print(ret)
  
file_path: graph4nlp/examples/pytorch/semantic_parsing/graph2seq/inference.py
imports: import numpy
  import torch
  from nltk.tokenize import word_tokenize
  from graph4nlp.pytorch.inference_wrapper.generator_inference_wrapper import GeneratorInferenceWrapper
  from graph4nlp.pytorch.models.graph2seq import Graph2Seq
  from args import get_args
label_desc: Use image node_id 4 for calling the Jobs obj's underlying member method code with example usage: obj.translate() without return types