class_docstr: Abstract class for an accumulator for annotations that can produce
  dense annotations packed into tensors.
class_docstr_tok: ["Abstract","class","for","an","accumulator","for","annotations","that","can","produce","dense","annotations","packed","into","tensors","."]
docstr: Pack data into tensors
docstr_tok: ["Pack","data","into","tensors"]
code: def pack(self) -> Any:
      """
      Pack data into tensors
      """
      pass
  
imports: from abc import ABC, abstractmethod
  from dataclasses import dataclass
  from typing import Any, Dict, List, Optional, Tuple
  import torch
  from torch.nn import functional
  from detectron2.structures import BoxMode, Instances
  from densepose import DensePoseDataRelative
label_desc: Use image node_id 2 for calling the AnnotationsAccumulator obj's underlying member method code with example usage: obj.pack() without return types