| 135 | |
| 136 | |
| 137 | class BasicModel6_MultiTensor(nn.Module): |
| 138 | def __init__(self) -> None: |
| 139 | super().__init__() |
| 140 | |
| 141 | def forward(self, input1: Tensor, input2: Tensor) -> Tensor: |
| 142 | input = input1 + input2 |
| 143 | return 1 - F.relu(1 - input)[:, 1] |
| 144 | |
| 145 | |
| 146 | class BasicLinearModel(nn.Module): |
no outgoing calls