/// <summary> /// Exponential Linear Unit /// </summary> /// <param name="x">The input tensor</param> /// <param name="alpha">The α value for the ELU formulation. Default: 1.0</param> /// <param name="inPlace">Do the operation in-place. Default: False</param> /// <returns></returns> static public TorchTensor ELU(TorchTensor x, double alpha, bool inPlace = false) { using (var m = Modules.ELU(alpha, inPlace)) { return(m.forward(x)); } }