Skip to content

Extract perspective transform logic into a separate function - #7034

Open
Disservin wants to merge 1 commit into
official-stockfish:masterfrom
Disservin:cleanup-nnue_feature_transformer.h
Open

Extract perspective transform logic into a separate function#7034
Disservin wants to merge 1 commit into
official-stockfish:masterfrom
Disservin:cleanup-nnue_feature_transformer.h

Conversation

@Disservin

Copy link
Copy Markdown
Member

Move some of the transform code into a separate transform_perspective function, to improve readability a bit by reducing the nesting.

Passed Non-Regression STC:
https://tests.stockfishchess.org/tests/view/6a722c0e2cf557d58a2e1ce9
LLR: 2.96 (-2.94,2.94) <-1.75,0.25>
Total: 138976 W: 36043 L: 35941 D: 66992
Ptnml(0-2): 286, 14530, 39760, 14620, 292

No functional change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant