跳转至主要内容

taichi.aot.utils#

taichi.aot.utils.check_type_match(lhs, rhs)#
taichi.aot.utils.dump_json_data_model(x: object) Any#
taichi.aot.utils.is_json_data_model(cls) bool#
taichi.aot.utils.json_data_model(f)#

Decorates a JSON data model. A JSON data model MUST NOT have any member functions and it MUST be constructible from a JSON object.

This is merely a marker.

taichi.aot.utils.produce_injected_args(kernel, symbolic_args=None)#
taichi.aot.utils.produce_injected_args_from_template(kernel, template_args)#
taichi.aot.utils.template_types#