Shortcuts

Typedef torch::nn::functional::CTCLossFuncOptions

Typedef Documentation

using torch::nn::functional::CTCLossFuncOptions = CTCLossOptions

Options for torch::nn::functional::ctc_loss.

See the documentation for torch::nn::CTCLossOptions class to learn what arguments are supported.

Example:

namespace F = torch::nn::functional;
F::ctc_loss(log_probs, targets, input_lengths, target_lengths,
F::CTCLossFuncOptions().reduction(torch::kNone));

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources