chrishkchris commented on issue #552: SINGA-496 Implement softplus and softsign 
functions for tensor math
URL: https://github.com/apache/singa/pull/552#issuecomment-554126176
 
 
   In the test case, you used the tensor function which output a tensor p with 
a input tensor cc, but the function cannot be found in tensor.h. You can add 
the function in tensor.h and tensor.cc, using the designed language switch as 
other functions did to switch it using either cpu or cuda functions depending 
on the device. You can see how other functions did (e.g. relu), from higher 
layer (tensor.cc) to lower layer (tensor_math_cpp.h and tensor_math_cuda.h 
depends on the device type).
   
   Thanks!

----------------------------------------------------------------
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

Reply via email to