Skip to content

Commit

Permalink
Port changes from master to make CPP package properly build when larg…
Browse files Browse the repository at this point in the history
…e tensor support is enabled. (apache#20768)
  • Loading branch information
josephevans authored Dec 16, 2021
1 parent f88b03e commit 60cab18
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cpp-package/scripts/OpWrapperGenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ class Arg:
'double or None':'dmlc::optional<double>',\
'Shape or None':'dmlc::optional<Shape>',\
'string':'const std::string&',\
'tuple of <float>':'nnvm::Tuple<mx_float>'}
'tuple of <float>':'nnvm::Tuple<mx_float>',\
'tuple of <>':'mxnet::cpp::Shape',\
'':'index_t'}
name = ''
type = ''
description = ''
Expand Down

0 comments on commit 60cab18

Please sign in to comment.