Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[frontend][keras] Add support for TimeDistributed #7006

Merged
merged 20 commits into from
Jan 21, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Forgot to set up data layout in _convert_activation
  • Loading branch information
slyubomirsky committed Jan 21, 2022
commit 50d1f5cc136dab7a1b0fabdab592c5809b637085
4 changes: 3 additions & 1 deletion python/tvm/relay/frontend/keras.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,10 @@ def _convert_recurrent_activation(inexpr, keras_layer):


def _convert_activation(
inexpr, keras_layer, _, input_shape=None, data_layout=None
inexpr, keras_layer, etab, input_shape=None, data_layout=None
): # pylint: disable=unused-argument
if data_layout is None:
data_layout = etab.data_layout
if isinstance(keras_layer, str):
act_type = keras_layer
else:
Expand Down