Создайте функцию RelU в Python
# Method 1
def ReLU(x):
return max(x,0)
# Method 2 by a lambda function
lambda x:max(x,0)
call me ps
# Method 1
def ReLU(x):
return max(x,0)
# Method 2 by a lambda function
lambda x:max(x,0)