Caffe2 - C++ API
A deep learning, cross platform ML framework
Related Pages
Modules
Data Structures
Files
C++ API
Python API
GitHub
File List
Globals
torch
csrc
utils
object_ptr.cpp
1
#include <torch/csrc/utils/object_ptr.h>
2
3
#include <torch/csrc/python_headers.h>
4
5
template
<>
6
void
THPPointer<PyObject>::free
() {
7
if
(ptr)
8
Py_DECREF(ptr);
9
}
10
11
template
class
THPPointer<PyObject>
;
THPPointer
Definition:
object_ptr.h:6
Generated on Thu Mar 21 2019 13:06:24 for Caffe2 - C++ API by
1.8.11