diffusion_
rs_
common
0.1.0
In diffusion_
rs_
common::
nn::
ops
diffusion_rs_common
::
nn
::
ops
Function
hard_sigmoid
Copy item path
source
pub fn hard_sigmoid(xs: &
Tensor
) ->
Result
<
Tensor
>