torch.nn.functional.elu torch.nn.functional.elu(input, alpha=1.0, inplace=False)[源代码] 逐元素应用指数线性单元(ELU)函数。 更多详情请参见ELU。 返回类型 Tensor