Skip to content

tf.concatenate does not exist #15477

@pedro-r-marques

Description

@pedro-r-marques

Environment info

Any

Who can help

@Rocketknight1

Information

BERT TFBertSelfAttention layer calls a function tf.concatenate when given a past_key_value parameter. This function does not exist in the TF 2.0 API. The correct function name is tf.concat.

To reproduce

Call a TFBertLayer layer with a non nil past_key_value argument.

Expected behavior

The code should be modified to use tf.concat instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions