nudles commented on issue #580: [WIP] SINGA-505 An experiment for buffering operations URL: https://github.com/apache/singa/pull/580#issuecomment-581027595 We can have the following c++ functions in V2.x ``` /// deprecated Tensor SumAll(const Tensor &in); /// deprecated SType Sum(const Tensor &in); Tensor Sum(const Tensor &in, const int axis=-1); Tensor Sum(const Tensor &in, const int[] axis); ``` For the Python side ``` def sum(in, axis=-1) # the axis could be an integer or an array @deprecated def SumAsFloat(in) ``` In V3.0, we remove the deprecated functions.
---------------------------------------------------------------- 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
