1
2
3
4
5
6
7
8
9
10
11
12
13
| #pragma once
|
| #include "torch/csrc/python_headers.h"
|
| namespace torch { namespace utils {
|
| #if PY_MAJOR_VERSION == 2
| PyObject *structseq_slice(PyStructSequence *obj, Py_ssize_t low, Py_ssize_t high);
| #endif
|
| PyObject *returned_structseq_repr(PyStructSequence *obj);
|
| }}
|
|