class_docstr: Rescores source and target tokens based on a model
code: def encode(self, encoder_inputs):
      encoder_out = self.model.encoder(*encoder_inputs)
      return [encoder_out]
  
imports: import torch
  from pytorch_translate import utils
label_desc: Use image node_id 3 for calling the SimpleModelScorer obj's underlying member method code with example usage: obj.encode(encoder_inputs) and returns: list