torch.nn.functional.relu¶ torch.nn.functional.relu(input, inplace=False) → 张量[源代码]¶ 逐元素应用修正线性单元函数。更多详情请参见 ReLU。 Return type 张量