Question d’entretien chez Mila (Canada)

How do you define a custom layer with a hand crafted gradient function