]> git.sesse.net Git - stockfish/commit - src/nnue/layers/affine_transform.h
Remove unused return type from propagate()
authormstembera <MissingEmail@email>
Tue, 25 Jul 2023 02:02:49 +0000 (19:02 -0700)
committerStéphane Nicolet <cassio@free.fr>
Fri, 28 Jul 2023 21:24:42 +0000 (23:24 +0200)
commitcb22520a9c7e1d716a56f08390aa638a23a597b2
tree73246d06b4f215eaa308fc66f27b85beae6211f8
parent2667316ffcf1b3396e42be3d5cb6bcbdcc98c216
Remove unused return type from propagate()

Also make two get_weight_index() static methods constexpr, for
consistency with the other static get_hash_value() method right above.
Tested for speed by user Torom (thanks).

closes https://github.com/official-stockfish/Stockfish/pull/4708

No functional change
src/nnue/layers/affine_transform.h
src/nnue/layers/affine_transform_sparse_input.h
src/nnue/layers/clipped_relu.h
src/nnue/layers/sqr_clipped_relu.h