templates
Templates API
The templates module provides the C template files used to generate the AOT code.
Functions
load_template
Load an AOT jijna2 template given filename
Parameters:
-
name
str
) –Template filename (e.g. conv.c)
Returns:
-
Template
(Template
) –The loaded template
update_env_globals
Update the Jinja2 environment globals with the provided dictionary.
Parameters:
-
globals_dict
dict
) –Dictionary of global variables to update.