nudles commented on a change in pull request #625: [WIP]tensor.AsType()
URL: https://github.com/apache/singa/pull/625#discussion_r391424456
##########
File path: src/core/tensor/math_kernel.cu
##########
@@ -184,6 +184,20 @@ __global__ void KernelAbs(const size_t n, const float
*in, float *out) {
}
}
+__global__ void KernelAsType2(const size_t n, const float *in, int *out) {
Review comment:
can you give a better name?
like KernelCastInt2Float or KernelInt2Float
----------------------------------------------------------------
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