apeforest commented on a change in pull request #15593: Large Index Support for
Slice
URL: https://github.com/apache/incubator-mxnet/pull/15593#discussion_r311862760
##########
File path: src/c_api/c_api_symbolic.cc
##########
@@ -585,6 +585,78 @@ int MXSymbolInferShape(SymbolHandle sym,
API_END();
}
+template<typename dtype, typename stype, typename itype>
+inline void SymbolInferShapeImpl(const char** keys,
+ mx_uint num_args,
+ const dtype* arg_shape_data,
+ const itype* arg_ind_ptr,
+ const int** in_shape_ndim,
+ const dtype*** in_shape_data,
+ const int** out_shape_ndim,
+ const dtype*** out_shape_data,
+ const int** aux_shape_ndim,
+ const dtype*** aux_shape_data,
+ nnvm::Symbol* s,
+ MXAPIThreadLocalEntry<dtype>* ret,
+ stype* in_shape_size,
+ stype* out_shape_size,
+ stype* aux_shape_size,
+ int* complete) {
+nnvm::Graph g = Symbol2Graph(*s);
Review comment:
indent?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services