def METHOD_NAME(
    test_case,
    placement,
    module_sbp,
    in_sbp,
    max_input_length,
    batch_size,
    num_classes,
    max_target_length,
    blank,
    reduction,
    zero_infinity,
):
    torch_ctc_loss = torch.nn.CTCLoss(
        blank=blank, reduction=reduction, zero_infinity=zero_infinity
    )
    flow_ctc_loss = flow.nn.CTCLoss(
        blank=blank, reduction=reduction, zero_infinity=zero_infinity
    )
    _compare_torch_and_oneflow(
        test_case,
        torch_ctc_loss,
        flow_ctc_loss,
        placement,
        module_sbp,
        in_sbp,
        max_input_length,
        batch_size,
        num_classes,
        max_target_length,
    )