QuantizedCTCLoss¶
- class aimet_torch.nn.QuantizedCTCLoss(*args, **kwargs)[source]¶
Quantized subclass of torch.nn.CTCLoss
- forward(self, log_probs: torch.Tensor, targets: torch.Tensor, input_lengths: torch.Tensor, target_lengths: torch.Tensor) torch.Tensor
Quantized forward of torch.nn.CTCLoss.
The input(s), parameter(s) (if any), and output(s) will be quantized with
self.input_quantizers
,self.param_quantizers
, andself.output_quantizers
respectively.For more information, see
QuantizationMixin
.