From 60cab18616ddfe2191797582a63f834b15e58ecb Mon Sep 17 00:00:00 2001 From: Joe Evans Date: Wed, 15 Dec 2021 18:59:25 -0800 Subject: [PATCH] Port changes from master to make CPP package properly build when large tensor support is enabled. (#20768) --- cpp-package/scripts/OpWrapperGenerator.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cpp-package/scripts/OpWrapperGenerator.py b/cpp-package/scripts/OpWrapperGenerator.py index 853c519a73d4..8e28c89aea7c 100644 --- a/cpp-package/scripts/OpWrapperGenerator.py +++ b/cpp-package/scripts/OpWrapperGenerator.py @@ -99,7 +99,9 @@ class Arg: 'double or None':'dmlc::optional',\ 'Shape or None':'dmlc::optional',\ 'string':'const std::string&',\ - 'tuple of ':'nnvm::Tuple'} + 'tuple of ':'nnvm::Tuple',\ + 'tuple of <>':'mxnet::cpp::Shape',\ + '':'index_t'} name = '' type = '' description = ''