nnf_sigmoid: Sigmoid

View source: R/nnf-activation.R

nnf_sigmoidR Documentation

Sigmoid

Description

Applies element-wise Sigmoid(x_i) = \frac{1}{1 + exp(-x_i)}

Usage

nnf_sigmoid(input)

Arguments

input

(N,*) tensor, where * means, any number of additional dimensions


torch documentation built on May 29, 2024, 9:54 a.m.