Skip to content

Commit

Permalink
Fix parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
shchur committed May 31, 2024
1 parent 39440ac commit 839907b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gluonts/model/forecast_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def make_predictions(prediction_net, inputs: dict):
# Feed inputs as positional arguments for MXNet predictors
import mxnet as mx

if isinstance(prediction_net, (mx.gluon.Block)):
if isinstance(prediction_net, mx.gluon.Block):
return prediction_net(*inputs.values())
except ImportError:
pass
Expand Down

0 comments on commit 839907b

Please sign in to comment.