Changes to allow remote execution
This commit is contained in:
@@ -6,7 +6,6 @@ class PinballLoss(nn.Module):
|
||||
def __init__(self, quantiles):
|
||||
super(PinballLoss, self).__init__()
|
||||
self.quantiles_tensor = torch.tensor(quantiles, dtype=torch.float32)
|
||||
self.quantiles = self.quantiles_tensor.tolist()
|
||||
|
||||
def forward(self, pred, target):
|
||||
error = target - pred
|
||||
|
||||
Reference in New Issue
Block a user