You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2017/12/09 18:50:41 UTC

[GitHub] piiswrong commented on a change in pull request #8989: Symbol __getitem__ using list_outputs() is too expensive

piiswrong commented on a change in pull request #8989: Symbol __getitem__ using list_outputs() is too expensive
URL: https://github.com/apache/incubator-mxnet/pull/8989#discussion_r155929437
 
 

 ##########
 File path: include/mxnet/c_api.h
 ##########
 @@ -1051,6 +1051,16 @@ MXNET_DLL int MXSymbolListArguments(SymbolHandle symbol,
 MXNET_DLL int MXSymbolListOutputs(SymbolHandle symbol,
                                   mx_uint *out_size,
                                   const char ***out_str_array);
+
+/*!
+ * \brief Get number of outputs of the symbol.
+ * \param symbol The symbol
+ * \param out_size number of outputs
+ * \return 0 when success, -1 when failure happens
+ */
+MXNET_DLL int MXSymbolGetOutputCount(SymbolHandle symbol,
 
 Review comment:
   GetNumOutputs

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services