r"""A fused :class:`~.Module` including :class:`~.module.Linear` and :class:`~.module.BatchNorm1d`. Could be replaced with :class:`~.QATModule` version :class:`~.qat.LinearBn1d` using :func:`~.quantize.quantize_qat`.
| 32 | |
| 33 | |
| 34 | class LinearBn1d(_LinearBnActivation1d): |
| 35 | r"""A fused :class:`~.Module` including :class:`~.module.Linear` and :class:`~.module.BatchNorm1d`. |
| 36 | Could be replaced with :class:`~.QATModule` version :class:`~.qat.LinearBn1d` using |
| 37 | :func:`~.quantize.quantize_qat`. |
| 38 | """ |
| 39 | |
| 40 | def forward(self, inp): |
| 41 | return self.bn(self.linear(inp)) |
| 42 | |
| 43 | |
| 44 | class LinearBnRelu1d(_LinearBnActivation1d): |