class_docstr: Differentiable Binarization (DB) for text detection:
      see https://arxiv.org/abs/1911.08947
  args:
      params(dict): super parameters for build DB network
class_docstr_tok: ["Differentiable","Binarization","(","DB",")","for","text","detection",":","see","https",":","\/\/arxiv.org\/abs\/1911.08947","args",":","params","(","dict",")",":","super","parameters","for","build","DB","network"]
code: def __init__(self, in_channels, k=50, **kwargs):
      super(DBHead, self).__init__()
      self.k = k
      self.binarize = Head(in_channels, **kwargs)
      self.thresh = Head(in_channels, **kwargs)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import math
  import paddle
  from paddle import nn
  import paddle.nn.functional
  from paddle import ParamAttr
  from ppocr.modeling.backbones.det_mobilenet_v3 import ConvBNLayer
label_desc: Use image node_id 1 to create a new DBHead object from inherited base classes: nn with example: obj = DBHead(in_channels, k)