mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-06 01:34:22 +00:00
Migrate output layer
This commit is contained in:
@@ -46,6 +46,12 @@ class Output : public SequentialLayer {
|
||||
private:
|
||||
int inputSize;
|
||||
float* h_output;
|
||||
|
||||
float* forwardCPU(const float* input);
|
||||
|
||||
#ifdef USE_CUDA
|
||||
float* forwardCUDA(const float* input);
|
||||
#endif
|
||||
};
|
||||
|
||||
} // namespace CUDANet::Layers
|
||||
Reference in New Issue
Block a user