class_docstr: Used in RetinaNet proposed in paper https://arxiv.org/pdf/1708.02002.pdf
      
class_docstr_tok: ["Used","in","RetinaNet","proposed","in","paper","https",":","\/\/arxiv.org\/pdf\/1708.02002.pdf"]
code: def decode_cls_logits(self, cls_logits_list):
      cls_logits = [_.transpose([0, 2, 3, 1]) for _ in cls_logits_list]
      batch_logits = []
      for img_id in range(cls_logits[0].shape[0]):
          num_lvls = len(cls_logits)
          cls_scores_list = [
              cls_logits[i][img_id] for i in range(num_lvls)
          ]
          logits = self.get_scores_single(cls_scores_list)
          batch_logits.append(logits)
      batch_logits = paddle.stack(batch_logits, axis=0)
      return batch_logits
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import math
  import paddle
  import paddle.nn
  import paddle.nn.functional
  from paddle import ParamAttr
  from paddle.nn.initializer import Normal, Constant
  from ppdet.modeling.bbox_utils import bbox2delta, delta2bbox
  from ppdet.modeling.heads.fcos_head import FCOSFeat
  from ppdet.core.workspace import register
label_desc: Use image node_id 8 for calling the RetinaHead obj's underlying member method code with example usage: obj.decode_cls_logits(cls_logits_list) and returns: batch_logits