I am trying to define a loss function for which I require to find the Euclidean distance transform of an image in TF1.
I wish to use the loss function described in the pa