Adapt CustomLayer for testing to have only one template parameter.

This commit is contained in:
Ryan Curtin
2022-04-02 15:37:55 -04:00
parent 9a9b6334a6
commit 232ce2a342
+2 -4
View File
@@ -26,11 +26,9 @@ namespace ann {
*/
template <
class ActivationFunction = LogisticFunction,
typename InputDataType = arma::mat,
typename OutputDataType = arma::mat
typename MatType = arma::mat
>
using CustomLayer = BaseLayer<
ActivationFunction, InputDataType, OutputDataType>;
using CustomLayer = BaseLayer<ActivationFunction, MatType>;
} // namespace ann
} // namespace mlpack