Program - python ReLu function


Topic: Program - python ReLu function

Solution

def relu_like_activation(l):
    return[0 if x < 0 else x for x in l]



List all Python Programs