From 9857675a5e019ff45fb70b09ad6ddd18bf832bb6 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 11 Apr 2023 19:38:24 +0200 Subject: [PATCH] Update torch import --- freqtrade/freqai/torch/PyTorchMLPModel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/freqai/torch/PyTorchMLPModel.py b/freqtrade/freqai/torch/PyTorchMLPModel.py index e50ccd5ef..62d3216df 100644 --- a/freqtrade/freqai/torch/PyTorchMLPModel.py +++ b/freqtrade/freqai/torch/PyTorchMLPModel.py @@ -2,7 +2,7 @@ import logging from typing import List import torch -import torch.nn as nn +from torch import nn logger = logging.getLogger(__name__)