Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Trevor Morris committed Apr 29, 2021
1 parent c2bcdca commit 821dc7f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions python/tvm/relay/frontend/keras.py
Original file line number Diff line number Diff line change
Expand Up @@ -1205,12 +1205,12 @@ def _convert_layer(keras_layer, etab, scope=""):
name = outname + ":" + str(t_idx)
etab.set_expr(name, out)
return outs
else:
if len(inexpr) == 1:
inexpr = inexpr[0]
return keras_op_to_relay(
inexpr, keras_layer, scope + keras_layer.name + ":" + str(node_idx), etab
)

if len(inexpr) == 1:
inexpr = inexpr[0]
return keras_op_to_relay(
inexpr, keras_layer, scope + keras_layer.name + ":" + str(node_idx), etab
)

is_tf_keras = _check_model_is_tf_keras()

Expand Down

0 comments on commit 821dc7f

Please sign in to comment.