def __new__(cls, localization_loss, scale_loss_weight, offset_loss_weight, task_loss_weight=1.0):
    'Constructor with default values for ObjectDetectionParams.\n\n    Args:\n      localization_loss: a object_detection.core.losses.Loss object to compute\n        the loss for the center offset and height/width predictions in\n        CenterNet.\n      scale_loss_weight: float, The weight for localizing box size. Note that\n        the scale loss is dependent on the input image size, since we penalize\n        the raw height and width. This constant may need to be adjusted\n        depending on the input size.\n      offset_loss_weight: float, The weight for localizing center offsets.\n      task_loss_weight: float, the weight of the object detection loss.\n\n    Returns:\n      An initialized ObjectDetectionParams namedtuple.\n    '
    return super(ObjectDetectionParams, cls).__new__(cls, localization_loss, scale_loss_weight, offset_loss_weight, task_loss_weight)
Constructor with default values for ObjectDetectionParams.

Args:
  localization_loss: a object_detection.core.losses.Loss object to compute
    the loss for the center offset and height/width predictions in
    CenterNet.
  scale_loss_weight: float, The weight for localizing box size. Note that
    the scale loss is dependent on the input image size, since we penalize
    the raw height and width. This constant may need to be adjusted
    depending on the input size.
  offset_loss_weight: float, The weight for localizing center offsets.
  task_loss_weight: float, the weight of the object detection loss.

Returns:
  An initialized ObjectDetectionParams namedtuple.
def __new__(cls, localization_loss, scale_loss_weight, offset_loss_weight, task_loss_weight=1.0):
    'Constructor with default values for ObjectDetectionParams.\n\n    Args:\n      localization_loss: a object_detection.core.losses.Loss object to compute\n        the loss for the center offset and height/width predictions in\n        CenterNet.\n      scale_loss_weight: float, The weight for localizing box size. Note that\n        the scale loss is dependent on the input image size, since we penalize\n        the raw height and width. This constant may need to be adjusted\n        depending on the input size.\n      offset_loss_weight: float, The weight for localizing center offsets.\n      task_loss_weight: float, the weight of the object detection loss.\n\n    Returns:\n      An initialized ObjectDetectionParams namedtuple.\n    '
    return super(ObjectDetectionParams, cls).__new__(cls, localization_loss, scale_loss_weight, offset_loss_weight, task_loss_weight)