def Params(cls):
    p = super().Params()
    p.Define(
        'draw_visualizations', False, 'Boolean for whether to draw '
        'visualizations. This is independent of laser_sampling_rate.')
    p.ap_metric = waymo_ap_metric.WaymoAPMetrics.Params(
        waymo_metadata.WaymoMetadata())
    p.Define(
        'extra_ap_metrics', {},
        'Dictionary of extra AP metrics to run in the decoder. The key'
        'is the name of the metric and the value is a sub-class of '
        'APMetric')
    p.Define(
        'save_residuals', False,
        'If True, this expects the residuals and ground-truth to be available '
        'in the decoder output dictionary, and it will save it to the decoder '
        'output file. See decode_include_residuals in PointDetectorBase '
        'for details.')
    return p