Policy / Model (facade)
Policy / Model (facade) (rlmesh.h).
Experimental
#include <rlmesh.h>Functions
- rlmesh_episode_state_get()Experimentaltrue and *out = value when present (a stored NULL is a value); false when missing.
- rlmesh_episode_state_set()ExperimentalOn RLMESH_OK value (and free_value, NULL = none) pass to the state, and replacing a key frees the old value first; on nonzero free_value is not called, the caller still owns value, and the state is unchanged.
- rlmesh_episode_state_remove()ExperimentalOn RLMESH_OK value (and free_value, NULL = none) pass to the state, and replacing a key frees the old value first; on nonzero free_value is not called, the caller still owns value, and the state is unchanged.
- rlmesh_episode_state_len()ExperimentalOn RLMESH_OK value (and free_value, NULL = none) pass to the state, and replacing a key frees the old value first; on nonzero free_value is not called, the caller still owns value, and the state is unchanged.
- rlmesh_model_serve()Experimental
- rlmesh_model_new()Experimental
- rlmesh_model_from_config()Experimental
- rlmesh_model_clone()Experimental
- rlmesh_model_close()Experimental
- rlmesh_model_free()Experimental
- rlmesh_model_spec()Experimental
- rlmesh_model_allow_fusion()Experimental
- rlmesh_model_native_chunk()Experimental
- rlmesh_model_workflow_edition()Experimental
- rlmesh_predict_seed()Experimental
Opaque types
Structs
- RLMeshSpecArgExperimental
- RLMeshPredictContextExperimentalOne row's episode identity.
- RLMeshLoadKeyExperimental
- RLMeshModelVtableExperimentalCorners write OWNED values into pre-zeroed out slots.
- RLMeshModelOptionsExperimental
- RLMeshExtModelServeOptionsExperimental
- RLMeshModelServeOptionsExperimental
Enums
Macros
Show all 14Hide
- RLMESH_CORNER_PREDICTExperimental
#define RLMESH_CORNER_PREDICT 1u - RLMESH_CORNER_PREDICT_CHUNKExperimental
#define RLMESH_CORNER_PREDICT_CHUNK 2u - RLMESH_CORNER_PREDICT_BATCHExperimental
#define RLMESH_CORNER_PREDICT_BATCH 4u - RLMESH_CORNER_PREDICT_CHUNK_BATCHExperimental
#define RLMESH_CORNER_PREDICT_CHUNK_BATCH 8u - RLMESH_PREDICT_CONTEXT_INITExperimentalLent: a reader treats any field struct_size does not cover as this value.
- RLMESH_MODEL_VTABLE_INITExperimentalCorners write OWNED values into pre-zeroed out slots.
- RLMESH_MODEL_OPTIONS_INITExperimental
#define RLMESH_MODEL_OPTIONS_INIT … - RLMESH_EXT_MODEL_SERVE_OPTIONS_INITExperimental
#define RLMESH_EXT_MODEL_SERVE_OPTIONS_INIT … - RLMESH_MODEL_SERVE_OPTIONS_INITExperimental
#define RLMESH_MODEL_SERVE_OPTIONS_INIT { sizeof ( RLMeshModelServeOptions ) , NULL , NULL , NULL } - RLMESH_MODEL_VTABLE_MIN_SIZEExperimental
#define RLMESH_MODEL_VTABLE_MIN_SIZE sizeof ( RLMeshModelVtable ) - RLMESH_MODEL_OPTIONS_MIN_SIZEExperimental
#define RLMESH_MODEL_OPTIONS_MIN_SIZE sizeof ( RLMeshModelOptions ) - RLMESH_PREDICT_CONTEXT_MIN_SIZEExperimental
#define RLMESH_PREDICT_CONTEXT_MIN_SIZE sizeof ( RLMeshPredictContext ) - RLMESH_MODEL_SERVE_OPTIONS_MIN_SIZEExperimental
#define RLMESH_MODEL_SERVE_OPTIONS_MIN_SIZE sizeof ( RLMeshModelServeOptions ) - RLMESH_EXT_MODEL_SERVE_OPTIONS_MIN_SIZEExperimental
#define RLMESH_EXT_MODEL_SERVE_OPTIONS_MIN_SIZE sizeof ( RLMeshExtModelServeOptions )