Files
CUDANet/include/layers/ilayer.h
2024-02-09 19:18:30 +01:00

19 lines
297 B
C++

#ifndef I_LAYER_H
#define I_LAYER_H
#include <cublas_v2.h>
namespace Layers {
class ILayer {
public:
virtual ~ILayer() {}
virtual void forward(const float* input, float* output) = 0;
virtual void to_cuda() = 0;
};
} // namespace Layers
#endif // I_LAYERH