Skip to contents

Compute sigmoid function, clip properly to prevent infinity/nan

Usage

sigmoid(eta)