Загрузка
torch.nn.LinearSimilar to torch.ao.nn.intrinsic.LinearReLU, with FakeQuantize modules initialized to default.
weight (torch.Tensor) – fake quant module for weight
Examples:
>>> m = nn.qat.LinearReLU(20, 30)
>>> input = torch.randn(128, 20)
>>> output = m(input)
>>> print(output.size())
torch.Size([128, 30])