pytorch / torcharrow

High performance model preprocessing library on PyTorch
https://pytorch.org/torcharrow/beta/index.html
BSD 3-Clause "New" or "Revised" License
642 stars 78 forks source link

fix sigmoid implementation bug #523

Open donglixp opened 6 months ago

donglixp commented 6 months ago

sigmoid(x) = 1 / (1+exp(-x))

The original implementation does not have -.