class_docstr: This provides Inference Engine for pre-trained segmentation model for Tool Tracking.
class_docstr_tok: ["This","provides","Inference","Engine","for","pre-trained","segmentation","model","for","Tool","Tracking","."]
code: def post_transforms(self, data=None) -> Sequence[Callable]:
      t = list(super().post_transforms())
      t.append(SqueezeDimd(keys="pred", dim=0))
      t.append(FindContoursd(keys="pred", labels=self.labels))
      return t
  
file_path: MONAILabel/sample-apps/endoscopy/lib/infers/tooltracking.py
imports: import logging
  from typing import Any, Callable, Dict, Sequence
  from monai.transforms import SqueezeDimd
  from monailabel.interfaces.tasks.infer_v2 import InferType
  from monailabel.tasks.infer.bundle import BundleInferTask
  from monailabel.transform.post import FindContoursd
  from monailabel.transform.writer import PolygonWriter
label_desc: Use image node_id 3 for calling the ToolTracking obj's underlying member method code with example usage: obj.post_transforms(data) and returns: t