def METHOD_NAME(boxes_shape, scores_shape, attrs):
    out_boxes_shape = output_tensor((3,), "int64")
    out_classes_shape = output_tensor((2,), "int64")
    out_scores_shape = output_tensor((2,), "int64")
    out_num_detections_shape = output_tensor((1,), "int64")
    out_boxes_shape[0] = boxes_shape[0]
    out_boxes_shape[1] = int64(attrs.max_detections)
    out_boxes_shape[2] = int64(4)
    out_classes_shape[0] = boxes_shape[0]
    out_classes_shape[1] = int64(attrs.max_detections)
    out_scores_shape[0] = boxes_shape[0]
    out_scores_shape[1] = int64(attrs.max_detections)
    out_num_detections_shape[0] = boxes_shape[0]
    return out_boxes_shape, out_classes_shape, out_scores_shape, out_num_detections_shape