We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71fc8e3 commit 0cfee8cCopy full SHA for 0cfee8c
tools/profiler.py
@@ -80,8 +80,8 @@ def __init__(self, model):
80
self.model = model
81
82
@TimeCounter.count_time(Backend.PYTORCH.value)
83
- def forward(self, *args, **kwargs):
84
- return self.model(*args, **kwargs)
+ def test_step(self, *args, **kwargs):
+ return self.model.test_step(*args, **kwargs)
85
86
87
def main():
0 commit comments