Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


torch (version 0.4.0)

nnf_hardsigmoid: Hardsigmoid

Description

Applies the element-wise function Hardsigmoid(x)=ReLU6(x+3)6

Usage

nnf_hardsigmoid(input, inplace = FALSE)

Arguments

input

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

inplace

NA If set to True, will do this operation in-place. Default: False