Applies the Sigmoid function to an n-dimensional input tensor rescaling them so that the elements of the n-dimensional output Tensor lie in the range [0,1].
sigmoid(xiā)=1+eāxiā1ā
Args
tensor(@Tensor<T>) - The input tensor.
Returns
A Tensor of fixed point numbers with the same shape than the input Tensor.
Type Constraints
Constrain input and output types to fixed point tensors.