class_docstr: KptL1Cost.
  
  this function based on: https://github.com/hikvision-research/opera/blob/main/opera/core/bbox/match_costs/match_cost.py
  
  Args:
      weight (int | float, optional): loss_weight.
class_docstr_tok: ["KptL1Cost",".","this","function","based","on",":","https",":","\/\/github.com\/hikvision-research\/opera\/blob\/main\/opera\/core\/bbox\/match_costs\/match_cost.py","Args",":","weight","(","int","|","float",",","optional",")",":","loss_weight","."]
code: def __init__(self, weight=1.0):
      self.weight = weight
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  import paddle
  import paddle.nn.functional
  from ppdet.core.workspace import register
label_desc: Use image node_id 1 to create a new KptL1Cost object from inherited base classes: object with example: obj = KptL1Cost(weight)