Download Pytorch/include/cpython/odictobject.h from RayTBRP/codellama-CodeLlama-7b-Python-hf: direct link, hf CLI and curl.
- Browser
- Download file 1.3 kB
-
https://huggingface.co/RayTBRP/codellama-CodeLlama-7b-Python-hf/resolve/c0c5506eba15c7ab03ff4f59bbe251ee2db72517/Pytorch/include/cpython/odictobject.h
- Command line
-
hf download hf://RayTBRP/codellama-CodeLlama-7b-Python-hf@c0c5506eba15c7ab03ff4f59bbe251ee2db72517/Pytorch/include/cpython/odictobject.h
-
curl -L -o odictobject.h https://huggingface.co/RayTBRP/codellama-CodeLlama-7b-Python-hf/resolve/c0c5506eba15c7ab03ff4f59bbe251ee2db72517/Pytorch/include/cpython/odictobject.h
1.3 kB
| extern "C" { | |
| /* OrderedDict */ | |
| /* This API is optional and mostly redundant. */ | |
| typedef struct _odictobject PyODictObject; | |
| PyAPI_DATA(PyTypeObject) PyODict_Type; | |
| PyAPI_DATA(PyTypeObject) PyODictIter_Type; | |
| PyAPI_DATA(PyTypeObject) PyODictKeys_Type; | |
| PyAPI_DATA(PyTypeObject) PyODictItems_Type; | |
| PyAPI_DATA(PyTypeObject) PyODictValues_Type; | |
| PyAPI_FUNC(PyObject *) PyODict_New(void); | |
| PyAPI_FUNC(int) PyODict_SetItem(PyObject *od, PyObject *key, PyObject *item); | |
| PyAPI_FUNC(int) PyODict_DelItem(PyObject *od, PyObject *key); | |
| /* wrappers around PyDict* functions */ | |
| } | |