QuantizedGLU

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

Quantized subclass of torch.nn.GLU

forward(self, input: torch.Tensor) torch.Tensor

Quantized forward of torch.nn.GLU.

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.