class_docstr: This module is used in RetinaNet to generate extra layers, P6 and P7.
class_docstr_tok: ["This","module","is","used","in","RetinaNet","to","generate","extra","layers",",","P6","and","P7","."]
code: def forward(
      self, p: List[Tensor], c: List[Tensor], names: List[str]
  ) -> Tuple[List[Tensor], List[str]]:
      p5, c5 = p[-1], c[-1]
      x = p5 if self.use_P5 else c5
      p6 = self.p6(x)
      p7 = self.p7(F.relu(p6))
      p.extend([p6, p7])
      names.extend(["p6", "p7"])
      return p, names
  
imports: from collections import OrderedDict
  import torch.nn
  import torch
  from torch import Tensor
  import torch.nn.functional
  from torch.jit.annotations import Tuple, List, Dict
label_desc: Use image node_id 2 for calling the LastLevelP6P7 obj's underlying member method code with example usage: obj.forward(p, c, names) and returns: p,  names