Sigmoid
Source:R/gen-namespace-docs.R
, R/gen-namespace-examples.R
, R/gen-namespace.R
torch_sigmoid.Rd
Sigmoid
Examples
if (torch_is_installed()) {
a = torch_randn(c(4))
a
torch_sigmoid(a)
}
#> torch_tensor
#> 0.2890
#> 0.4417
#> 0.7360
#> 0.4331
#> [ CPUFloatType{4} ]