mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 00:20:18 +01:00
[AutoAccept][Codemod][FBSourceClangFormatLinter] Daily arc lint --take CLANGFORMAT
Reviewed By: zertosh
Differential Revision: D33677079
fbshipit-source-id: 997b73bebdcf83e09138bddc4bce257d0740e874
(cherry picked from commit 620023ad32)
This commit is contained in:
parent
06838ce8b1
commit
9f0c808593
|
|
@ -298,9 +298,8 @@ struct __attribute__((visibility("hidden"))) ConcreteInterpreterSessionImpl
|
|||
|
||||
py::tuple storages(obj.storages_.size());
|
||||
for (size_t i = 0, N = obj.storages_.size(); i < N; ++i) {
|
||||
py::object new_storage =
|
||||
py::reinterpret_steal<py::object>(torch::createPyObject(
|
||||
obj.storages_[i]));
|
||||
py::object new_storage = py::reinterpret_steal<py::object>(
|
||||
torch::createPyObject(obj.storages_[i]));
|
||||
storages[i] = std::move(new_storage);
|
||||
}
|
||||
py::tuple dtypes(obj.types_.size());
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user