(self, x: torch.Tensor, y: torch.Tensor, c: int)
| 130 | super(ModuleIntAddWithAlpha, self).__init__() |
| 131 | |
| 132 | def forward(self, x: torch.Tensor, y: torch.Tensor, c: int): |
| 133 | return torch.add(x, y, alpha=c) |
| 134 | |
| 135 | def get_random_inputs(self): |
| 136 | return ( |