code: def from_config(cls, config):
      return cls(None, create_loss(config.loss), config)
  
imports: from pytext.config.component import create_loss
  from pytext.loss import PairwiseRankingLoss
  from .output_layer_base import OutputLayerBase
label_desc: Use image node_id 1 for calling the PairwiseRankingOutputLayer obj's underlying member method code with example usage: obj.from_config(cls, config) and returns: cls