Done with activation softmax backwards
This commit is contained in:
1 parent
d7b74ab40f
commit
11da534fd6
30 files changed
+3029
-184
No files matched your search
@@ -77,7 +77,7 @@ struct activation_relu : public layer{
|
||||
*
|
||||
* @Note Calculates -> outputs = inputs * weights + biases
|
||||
*/
|
||||
bool forward(const panic::tensor::real_matrix& inputs);
|
||||
bool forward(const panic::tensor::real_matrix& input_data);
|
||||
|
||||
/**
|
||||
* @brief Backward function for layer
|
||||
@@ -86,7 +86,7 @@ struct activation_relu : public layer{
|
||||
*
|
||||
* @Note Calculates derivative of forward function.
|
||||
*/
|
||||
bool backward(const panic::tensor::real_matrix& dinpus);
|
||||
bool backward(const panic::tensor::real_matrix& dvalues);
|
||||
};
|
||||
|
||||
} // namespace tensor
|
||||
|
||||
@@ -77,7 +77,7 @@ struct activation_softmax : public layer{
|
||||
*
|
||||
* @Note Calculates -> outputs = inputs * weights + biases
|
||||
*/
|
||||
bool forward(const panic::tensor::real_matrix& inputs);
|
||||
bool forward(const panic::tensor::real_matrix& input_data);
|
||||
|
||||
/**
|
||||
* @brief Backward function for layer
|
||||
@@ -86,7 +86,7 @@ struct activation_softmax : public layer{
|
||||
*
|
||||
* @Note Calculates derivative of forward function.
|
||||
*/
|
||||
bool backward(const panic::tensor::real_matrix& dinpus);
|
||||
bool backward(const panic::tensor::real_matrix& dvalues);
|
||||
};
|
||||
|
||||
} // namespace tensor
|
||||
|
||||
Reference in new issue
Block a user