Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
eagarvey-amd committed Jul 25, 2024
1 parent 4f6cbb4 commit 3610634
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/turbine_models/custom_models/pipeline_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def _output_cast(self, output):
return output.to_host().astype(np_dtypes[self.dest_dtype])
case _:
return output

def save_output(self, function_name, output):
if isinstance(output, tuple) or isinstance(output, list):
for i in output:
Expand Down Expand Up @@ -257,7 +257,7 @@ def __call__(self, function_name, inputs: list):
else:
output = self._run(function_name, inputs)
if self.save_outputs:
self.save_output(function_name, output)
self.save_output(function_name, output)
output = self._output_cast(output)
return output

Expand Down

0 comments on commit 3610634

Please sign in to comment.