QuantizedLSTMCell

class aimet_torch.nn.QuantizedLSTMCell(*args, **kwargs)[source]

Quantized subclass of torch.nn.LSTMCell

forward(self, input: torch.Tensor, hx: Tuple[torch.Tensor, torch.Tensor] | None = None) Tuple[torch.Tensor, torch.Tensor]

Quantized forward of torch.nn.LSTMCell.

The input(s), parameter(s) (if any), and output(s) will be quantized with self.input_quantizers, self.param_quantizers, and self.output_quantizers respectively.

For more information, see QuantizationMixin.