(self, x: torch.Tensor)
| 149 | self.b = 2 * torch.ones(2, 2, dtype=torch.float) |
| 150 | |
| 151 | def forward(self, x: torch.Tensor): |
| 152 | out_1 = torch.mul(self.a, x) |
| 153 | out_2 = torch.add(out_1, self.b) |
| 154 | return out_2 |
| 155 | |
| 156 | def get_random_inputs(self): |
| 157 | return (torch.ones(2, 2, dtype=torch.float),) |