Files
pytorch/torch/csrc/autograd/python_sparse_functions.h
Christian Puhrsch 75955e4ef8 [clone][sparse] Add torch._C._sparse namespace (#68672)
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
2021-11-19 19:47:38 -08:00

8 lines
131 B
C++

#pragma once
namespace torch { namespace autograd {
void initSparseFunctions(PyObject* module);
}} // namespace torch::autograd