Skip to main content

export_function_with_keywords

Function export_function_with_keywords 

Source
pub fn export_function_with_keywords(
    path: &str,
    function: &MlxClosureKwargs,
    example_arguments: &MlxArrayVector,
    keyword_arguments: &MlxMapStringToArray,
    shapeless: bool,
) -> Result<(), MlxCError>
Expand description

Exports a kwargs closure and example arguments to an MLX function file.

ยงErrors

Returns the captured MLX-C description when export fails.