__init__() def forward(self, lots, price_diff): abs_return = torch.mul(lots.view(-1), price_diff) ar = torch.mean(abs_return) return torch.neg(ar) PyTorch ...
確定! 回上一頁