Skip to content

Memory leak using tf.py_function in customized embedding layers with eager execution #1567

Open
@workingloong

Description

@workingloong

batch_embedding = tf.py_function(
self.lookup_embedding, inp=[unique_ids], Tout=tf.float32
)

The memory leak bug about tf.py_function has been submitted to TensorFlow issue 35010

Metadata

Metadata

Assignees

No one assigned

    Labels

    TF_BUGbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions