mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
[2/N] Fix extra warnings brought by clang-tidy-17 (#137459)
Follows #137407 Pull Request resolved: https://github.com/pytorch/pytorch/pull/137459 Approved by: https://github.com/Skylion007
This commit is contained in:
@ -39,7 +39,7 @@ void initThroughputBenchmarkBindings(PyObject* module) {
|
||||
const py::kwargs& kwargs) {
|
||||
// Depending on this being ScriptModule of nn.Module we will release
|
||||
// the GIL or not further down in the stack
|
||||
return self.runOnce(std::move(args), kwargs);
|
||||
return self.runOnce(args, kwargs);
|
||||
})
|
||||
.def(
|
||||
"benchmark",
|
||||
|
Reference in New Issue
Block a user