I want to know is there any function for
K.ctc_batch_cost() for Pytorch.
and also for
ctc_loss = Lambda(ctc_lambda_func, output_shape=(1,), name=‘ctc’)([y_pred, labels, input_length, label_length])
In this code, ctc_lambda_func is  a function I earlier defined. And y_pred,… are parameteres I have defined. I want the equivalent of lambda.
Thanks !!