tl_compile_expr

Function tl_compile_expr 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn tl_compile_expr( expr: *const c_char, ) -> *mut TLGraphResult
Expand description

Compile a logical expression to a tensor graph

§Parameters

  • expr: The logical expression as a C string

§Returns

A pointer to TLGraphResult that must be freed with tl_free_graph_result

§Safety

The caller must ensure that expr is a valid null-terminated string.