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 5d0e1f1 commit 8c1b11a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neutone_sdk/conv.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@ def prepare_for_inference(self) -> None:
log.info(f"Converting Conv1dGeneral to cached in prepare_for_inference()")
self.set_cached(True)
self.debug_mode = False
self.conv1d.eval()
self.padding_cached.prepare_for_inference()
self.eval()

def forward(self, x: Tensor) -> Tensor:
"""
Expand Down

0 comments on commit 8c1b11a

Please # to comment.