Skip to content

Commit

Permalink
fixed flake8 related issues
Browse files Browse the repository at this point in the history
Signed-off-by: Oleg Kostromin <kostromin97@gmail.com>
  • Loading branch information
OKUA1 committed Oct 30, 2022
1 parent 09c731c commit a2b25c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skl2onnx/operator_converters/stacking.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def _fetch_scores(scope, container, model, inputs, raw_scores=False,
return new_name


def _add_passthrough_connection(operator, predictions):
def _add_passthrough_connection(operator, predictions):
if operator.raw_operator.passthrough:
predictions.append(operator.inputs[0].onnx_name)

Expand All @@ -56,7 +56,7 @@ def _transform_regressor(scope, operator, container, model):
]

_add_passthrough_connection(operator, predictions)

apply_concat(
scope, predictions, merged_prob_tensor, container, axis=1)
return merged_prob_tensor
Expand Down

0 comments on commit a2b25c1

Please sign in to comment.