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