e3x.nn.functions.switch
Switch functions.
Functions that are \(0\) for \(x<a\), \(1\) for \(x>b\), and interpolate between \(0\) and \(1\) on the interval \([a,b]\).
Switch functions.
Functions that are \(0\) for \(x<a\), \(1\) for \(x>b\), and interpolate between \(0\) and \(1\) on the interval \([a,b]\).