QuantizedRNNCell

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

Quantized subclass of torch.nn.RNNCell

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

Quantized forward of torch.nn.RNNCell.

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.