engine/nnue_embedded.cppΒΆ

Links the default NNUE network into the binary.

The network is pulled in with an assembler .incbin rather than a generated C array: the net is ~6.7 MB, and the equivalent array source is ~40 MB of text that the compiler then has to parse on every build. .incbin costs one linker section.

See docs/ccrl-docs/PLAN.md C6 for why the default net ships inside the binary at all.

Functions

bool hasEmbeddedNNUE()
bool loadEmbeddedNNUE()