mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/68672 This PR adds `python_module: sparse` to `native_function.yaml`. These functions would appear in `torch._C._sparse` namespace instead of just `torch`. Test Plan: Imported from OSS Reviewed By: mruberry Differential Revision: D32517813 fbshipit-source-id: 7c3d6df57a24d7c7354d0fefe1b628dc89be9431
8 lines
131 B
C++
8 lines
131 B
C++
#pragma once
|
|
|
|
namespace torch { namespace autograd {
|
|
|
|
void initSparseFunctions(PyObject* module);
|
|
|
|
}} // namespace torch::autograd
|