|
io-chess
UCI chess engine
|
WebAssembly API for feature extraction. More...
#include "FactorizedFeatureExtractor.hpp"#include "FeatureExtractor.hpp"#include "chess.hpp"#include <cstddef>#include <cstdint>#include "ExpertRouter.hpp"
Functions | |
| int | extract_features (const char *fen) |
| std::uintptr_t | get_feature_layers_ptr () |
| std::uintptr_t | get_feature_globals_ptr () |
| int | get_feature_layers_len () |
| int | get_feature_globals_len () |
| std::uintptr_t | get_factorized_branches_ptr () |
| std::uintptr_t | get_factorized_bypass_ptr () |
| std::uintptr_t | get_factorized_globals_ptr () |
| int | get_factorized_branches_len () |
| int | get_factorized_bypass_len () |
| int | get_factorized_globals_len () |
| void | get_expert_weights (float *output) |
Variables | |
| static ChessInput | g_features |
| static FactorizedInput | g_factorized |
WebAssembly API for feature extraction.
Exposes C-linkage functions for extracting chess features into flat buffers for the JavaScript frontend to consume without running the full UCI engine.
| int extract_features | ( | const char * | fen | ) |

| void get_expert_weights | ( | float * | output | ) |

| int get_factorized_branches_len | ( | ) |
| std::uintptr_t get_factorized_branches_ptr | ( | ) |
| int get_factorized_bypass_len | ( | ) |
| std::uintptr_t get_factorized_bypass_ptr | ( | ) |
| int get_factorized_globals_len | ( | ) |
| std::uintptr_t get_factorized_globals_ptr | ( | ) |
| int get_feature_globals_len | ( | ) |
| std::uintptr_t get_feature_globals_ptr | ( | ) |
| int get_feature_layers_len | ( | ) |
| std::uintptr_t get_feature_layers_ptr | ( | ) |
|
static |
|
static |