]> git.sesse.net Git - stockfish/blobdiff - src/nnue/layers/clipped_relu.h
Remove unused return type from propagate()
[stockfish] / src / nnue / layers / clipped_relu.h
index 51e562dad34ae4d820c459035213be51b167d25f..d5aa6fbfbd1a2d7640332e3e139aa373e57f4873 100644 (file)
@@ -59,7 +59,7 @@ namespace Stockfish::Eval::NNUE::Layers {
     }
 
     // Forward propagation
-    const OutputType* propagate(
+    void propagate(
         const InputType* input, OutputType* output) const {
 
   #if defined(USE_AVX2)
@@ -170,8 +170,6 @@ namespace Stockfish::Eval::NNUE::Layers {
         output[i] = static_cast<OutputType>(
             std::max(0, std::min(127, input[i] >> WeightScaleBits)));
       }
-
-      return output;
     }
   };