Skip to content

SequenceLoss shoudn't override the __call__ of tf.keras.losses.Loss #1459

Open
@gabrieldemarmiesse

Description

@gabrieldemarmiesse

Everything is in the title. __call__ is considered a private API of keras. For TF 2.2 we had to change our code which shows that we shoudn't rely on the behavior of __call__.

Follow-up on #1371 (comment)

@guillaumekln @pavithrasv @qlzh727 are the persons who might be concerned by this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions