singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [singa] nudles commented on issue #580: [WIP] SINGA-505 An experiment for buffering operations
Date Sat, 01 Feb 2020 12:54:04 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message