code: def __init__(self):
      super(PPLScorer, self).__init__(float("inf"), "ppl")
  
imports: from enum import Enum
  from onmt.utils.logging import logger
label_desc: Use image node_id 1 to create a new PPLScorer object from inherited base classes: Scorer with example: obj = PPLScorer()