Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil committed Nov 18, 2024
1 parent b1b295d commit 7f03a0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions optimum/exporters/onnx/model_configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2124,9 +2124,9 @@ def outputs(self) -> Dict[str, Dict[int, str]]:
# for Speech2text, we need to name the second axis as
# encoder_sequence_length / 2 * self._config.num_conv_layers as the axis name is
# used for dummy input generation
common_outputs["last_hidden_state"][1] = (
f"{common_outputs['last_hidden_state'][1]} / {(2 * self._config.num_conv_layers)}"
)
common_outputs["last_hidden_state"][
1
] = f"{common_outputs['last_hidden_state'][1]} / {(2 * self._config.num_conv_layers)}"
return common_outputs


Expand Down

0 comments on commit 7f03a0e

Please sign in to comment.