mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-07 10:14:27 +00:00
Format source code using clang-format
This commit is contained in:
@@ -7,8 +7,11 @@ __device__ float sigmoid(float a);
|
||||
__device__ float relu(float a);
|
||||
__device__ float linear(float a);
|
||||
|
||||
__global__ void sigmoid_kernel(const float* __restrict__ src, float* __restrict__ dst, int len);
|
||||
__global__ void relu_kernel(const float* __restrict__ src, float* __restrict__ dst, int len);
|
||||
__global__ void linear_kernel(const float* __restrict__ src, float* __restrict__ dst, int len);
|
||||
__global__ void
|
||||
sigmoid_kernel(const float* __restrict__ src, float* __restrict__ dst, int len);
|
||||
__global__ void
|
||||
relu_kernel(const float* __restrict__ src, float* __restrict__ dst, int len);
|
||||
__global__ void
|
||||
linear_kernel(const float* __restrict__ src, float* __restrict__ dst, int len);
|
||||
|
||||
#endif // ACTIVATIONS_H
|
||||
#endif // ACTIVATIONS_H
|
||||
Reference in New Issue
Block a user