tract_inference_fact_parse

Function tract_inference_fact_parse 

Source
pub unsafe extern "C" fn tract_inference_fact_parse(
    model: *mut TractInferenceModel,
    spec: *const c_char,
    fact: *mut *mut TractInferenceFact,
) -> TRACT_RESULT
Expand description

Parse a fact specification string into an InferenceFact.

The returned fact must be free with tract_inference_fact_destroy.