[Python] how can i fix a problem regarding problem regarding 'L1Dist.call()'

Discussão em 'Python' iniciado por Stack, Abril 5, 2025.

  1. Stack

    Stack Membro Participativo

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

    def call(self, input_embedding, validation_img):
    return tf.math.abs(input_embedding - validation_img)


    Signature of method 'L1Dist.call()' does not match signature of the base method in class'Layer'

    how can i fix this problem?

    Continue reading...

Compartilhe esta Página