Skip to content

Commit

Permalink
[cm] Changing prepare for inference
Browse files Browse the repository at this point in the history
  • Loading branch information
christhetree committed Feb 1, 2024
1 parent 8c1b11a commit b9dc93c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions neutone_sdk/conv.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def reset(self, batch_size: Optional[int] = None) -> None:
def prepare_for_inference(self) -> None:
self.debug_mode = False
self.reset()
self.eval()

def forward(self, x: Tensor) -> Tensor:
if self.debug_mode:
Expand Down

0 comments on commit b9dc93c

Please sign in to comment.