singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [singa] chrishkchris commented on issue #552: SINGA-496 Implement softplus and softsign functions for tensor math
Date Thu, 14 Nov 2019 23:08:10 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message