mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-06 01:34:22 +00:00
Refactor layers
This commit is contained in:
@@ -19,14 +19,13 @@ class Add {
|
||||
~Add();
|
||||
|
||||
/**
|
||||
* @brief Adds the two inputs
|
||||
* @brief Adds first input to second input
|
||||
*
|
||||
* @param d_inputA Device pointer to the first input
|
||||
* @param d_inputB Device pointer to the second input
|
||||
*
|
||||
* @return Device pointer to the output
|
||||
*/
|
||||
float* forward(const float* d_inputA, const float* d_inputB);
|
||||
void forward(const float* d_inputA, const float* d_inputB);
|
||||
|
||||
private:
|
||||
int inputSize;
|
||||
|
||||
Reference in New Issue
Block a user