Skip to content

Commit

Permalink
syntax and linting fixes in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
haddadanas authored Oct 7, 2024
1 parent 8da57f1 commit 86ae927
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/user_guide/ml.md
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,8 @@ class MyModel(MLModel):
# store parameters of interest in the ml_model_inst, e.g. via the parameters attribute
self.parameters = {
"batchsize": int(self.parameters.get("batchsize", 1024)),
"layers": tuple(int(layer) for layer in self.parameters.get("layers, (64, 64, 64)),
"ml_process_weights": ml_process_weights
"layers": tuple(int(layer) for layer in self.parameters.get("layers", (64, 64, 64))),
"ml_process_weights": ml_process_weights,
}

# create representation of ml_model_inst
Expand Down

0 comments on commit 86ae927

Please sign in to comment.