Rate this Page

torch.nn.functional.relu#

torch.nn.functional.relu(input, inplace=False) Tensor[source]#

Applies the rectified linear unit function element-wise. See ReLU for more details.

Return type

Tensor