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) (apache#20841)
  • Loading branch information
josephevans authored Jan 25, 2022
1 parent 0642923 commit 33c0c8e
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 33c0c8e

Please sign in to comment.