mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
This makes Placement data representation available in C++ via pybind11. Pull Request resolved: https://github.com/pytorch/pytorch/pull/163030 Approved by: https://github.com/ezyang
8 lines
168 B
C++
8 lines
168 B
C++
#pragma once
|
|
|
|
#include <torch/csrc/utils/python_stub.h>
|
|
|
|
namespace torch::distributed {
|
|
void initPlacementBindings(PyObject* module);
|
|
} // namespace torch::distributed
|