mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 00:21:07 +01:00
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/23081 Test Plan: - New tests [namedtensor ci] Imported from OSS Differential Revision: D16419174 Pulled By: zou3519 fbshipit-source-id: 8679f77f121664d0398d7f062a53c0fa37482481
11 lines
247 B
C
11 lines
247 B
C
#pragma once
|
|
#ifdef BUILD_NAMEDTENSOR
|
|
#include <torch/csrc/python_headers.h>
|
|
#include <ATen/Dimname.h>
|
|
|
|
at::Dimname THPDimname_parse(PyObject* obj);
|
|
bool THPUtils_checkDimname(PyObject* obj);
|
|
bool THPUtils_checkDimnameList(PyObject* obj);
|
|
|
|
#endif
|