7void Function::load(
void *so_handle,
const std::string &
func_name) {
9 .incref = fname_incref::load(so_handle,
func_name),
10 .decref = fname_decref::load(so_handle,
func_name),
11 .n_in = fname_n_in::load(so_handle,
func_name),
12 .n_out = fname_n_out::load(so_handle,
func_name),
13 .name_in = fname_name_in::load(so_handle,
func_name),
14 .name_out = fname_name_out::load(so_handle,
func_name),
15 .sparsity_in = fname_sparsity_in::load(so_handle,
func_name),
16 .sparsity_out = fname_sparsity_out::load(so_handle,
func_name),
17 .alloc_mem = fname_alloc_mem::load(so_handle,
func_name),
18 .init_mem = fname_init_mem::load(so_handle,
func_name),
19 .free_mem = fname_free_mem::load(so_handle,
func_name),
20 .work = fname_work::load(so_handle,
func_name),
21 .call = fname::load(so_handle,
func_name),