class_docstr: Dictionary-based wrapper for :py:class:`monai.apps.pathology.transforms.post.array.HoVerNetNuclearTypePostProcessing`.
  It updates the input instance info dictionary with information about types of the nuclei (value and probability).
  Also if requested (`return_type_map=True`), it generates a pixel-level type map.
  
  Args:
      type_prediction_key: the key for HoVerNet NC (type prediction) branch. Defaults to `HoVerNetBranch.NC`.
      instance_info_key: the key where instance information (contour, bounding boxes, and centroids) is stored.
          Defaults to `"instance_info"`.
      instance_map_key: the key where instance map is stored. Defaults to `"instance_map"`.
      type_map_key: the output key where type map is written. Defaults to `"type_map"`.
      device: target device to put the output Tensor data.
code: def __call__(self, data):
      d = dict(data)
  
      d[self.instance_info_key], type_map = self.type_post_process(
          d[self.type_prediction_key],
          d[self.instance_info_key],
          d[self.instance_map_key],
      )
      if self.return_type_map:
          if self.type_map_key in d:
              raise ValueError(
                  "The output key ['{self.type_map_key}'] already exists in the input dictionary!"
              )
          d[self.type_map_key] = type_map
  
      return d
  
imports: from __future__ import annotations
  from collections.abc import Callable, Hashable, Mapping
  import numpy
  import torch
  from monai.apps.pathology.transforms.post.array import GenerateDistanceMap, GenerateInstanceBorder, GenerateInstanceCentroid, GenerateInstanceContour, GenerateInstanceType, GenerateSuccinctContour, GenerateWatershedMarkers, GenerateWatershedMask, HoVerNetInstanceMapPostProcessing, HoVerNetNuclearTypePostProcessing, Watershed
  from monai.config.type_definitions import DtypeLike, KeysCollection, NdarrayOrTensor
  from monai.transforms.transform import MapTransform, Transform
  from monai.utils import optional_import
  from monai.utils.enums import HoVerNetBranch
label_desc: Use image node_id 2 for calling the HoVerNetNuclearTypePostProcessingd obj's underlying member method code with example usage: obj.__call__(data) and returns: d