Learn R Programming

cgraph (version 6.0.1)

cg_sigmoid: Sigmoid

Description

Calculate 1 / (1 + exp(-x)).

Usage

cg_sigmoid(x, name = NULL)

Arguments

x

either a cg_node object or a numerical vector or array.

name

character scalar, name of the operation (optional).

Value

cg_operator object.