class_docstr: Disentangled Non-Local Blocks.
  
  Args:
      temperature (float): Temperature to adjust attention. Default: 0.05
class_docstr_tok: ["Disentangled","Non-Local","Blocks",".","Args",":","temperature","(","float",")",":","Temperature","to","adjust","attention",".","Default",":","0.05"]
code: def __init__(self, *arg, temperature, **kwargs):
      super().__init__(*arg, **kwargs)
      self.temperature = temperature
      self.conv_mask = nn.Conv2d(self.in_channels, 1, kernel_size=1)
  
file_path: lavis/lavis/common/annotator/uniformer/mmseg/models/decode_heads/dnl_head.py
imports: import torch
  from annotator.uniformer.mmcv.cnn import NonLocal2d
  from torch import nn
  from ..builder import HEADS
  from .fcn_head import FCNHead
label_desc: Use image node_id 1 to create a new DisentangledNonLocal2d object from inherited base classes: NonLocal2d with example: obj = DisentangledNonLocal2d()