7 lines
80 B
Python
7 lines
80 B
Python
import torch
|
|
|
|
scale = 410
|
|
|
|
def cpe2wdl(cpe):
|
|
return torch.sigmoid(cpe / scale)
|