From 923b85a43e2ea482c332781a5f2744d230bad203 Mon Sep 17 00:00:00 2001 From: Fabio Seel Date: Wed, 16 Oct 2024 11:41:43 +0200 Subject: [PATCH] fix: pylint complaints in neural_circuit --- retinal_rl/models/neural_circuit.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/retinal_rl/models/neural_circuit.py b/retinal_rl/models/neural_circuit.py index 10053bf0..c8f5d850 100644 --- a/retinal_rl/models/neural_circuit.py +++ b/retinal_rl/models/neural_circuit.py @@ -5,7 +5,7 @@ from typing import Any, List, Type, get_type_hints import torch -import torch.nn as nn +from torch import nn from torchinfo import summary from retinal_rl.util import Activation @@ -64,7 +64,6 @@ def scan(self) -> None: @abstractmethod def forward(self, x: torch.Tensor) -> torch.Tensor: """Forward pass of the neural circuit.""" - x = x raise NotImplementedError("Each subclass must implement its own forward method.") @property