Remove not needed code

This commit is contained in:
2024-02-29 22:21:32 +01:00
parent 0f0e57b819
commit 045359cca2
7 changed files with 14 additions and 29 deletions

View File

@@ -1,16 +1,12 @@
#include <functional>
#ifndef ACTIVATIONS_H
#define ACTIVATIONS_H
__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);