Wie kann ich ein Problem in Bezug auf das Problem in Bezug auf 'l1dist.call ()' beheben ''Python

Python-Programme
Anonymous
 Wie kann ich ein Problem in Bezug auf das Problem in Bezug auf 'l1dist.call ()' beheben ''

Post by Anonymous »

Code: Select all

class L1Dist(Layer):
def __init__(self, **kwargs):
super().__init__()

def call(self, input_embedding, validation_img):
return tf.math.abs(input_embedding - validation_img)
Signatur der Methode 'l1dist.call ()' entspricht nicht der Signatur der Basismethode in der Klasse'Layer '
Wie kann ich dieses Problem beheben?

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post