Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 22, 2023
1 parent 76b8705 commit 78f2277
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/user_guide/logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ plt.show()
from evotorch.logging import StdOutLogger, PandasLogger
import torch


# Create a Problem instance to solve
def sphere(x: torch.Tensor) -> torch.Tensor:
return torch.sum(x.pow(2.0))
Expand Down Expand Up @@ -210,6 +211,7 @@ _ = MlflowLogger(searcher, client=client, run=run)
from evotorch.logging import StdOutLogger, MlflowLogger
import torch


# Create a Problem instance to solve
def sphere(x: torch.Tensor) -> torch.Tensor:
return torch.sum(x.pow(2.0))
Expand Down

0 comments on commit 78f2277

Please sign in to comment.