blob: 8b74727ab0947eaa45e950853aa9c6f66c838221 [file] [log] [blame]
#pragma once
#include <torch/csrc/python_headers.h>
#include <ATen/Dimname.h>
#ifdef BUILD_NAMEDTENSOR
at::Dimname THPDimname_parse(PyObject* obj);
bool THPUtils_checkDimname(PyObject* obj);
bool THPUtils_checkDimnameList(PyObject* obj);
#endif