Skip to content

[Bug] [Relay][Keras] attribute go_backwards in LSTM converter function not be considered lead to wrong inference results #15176

@jikechao

Description

@jikechao

The following test cases produced different inference results with Keras.
The TVM frontend didn't consider the go_backwards=True in function _convert_lstm (Line 985-1030) in file relay/frontend/keras.py

keras.layers.LSTM(units=32, go_backwards=True)
input_shape=[1, 2, 64]

Actual behavior

image

Triage

  • frontend:keras
  • needs-triage

cc @shingjan

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triagePRs or issues that need to be investigated by maintainers to find the right assignees to address ittype: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions