* [NODE][REFACTOR] Rename IRFunctor->NodeFunctor, use function pointer for dispatching. Previously we used std::function for the functor dispatching. It introduces additional overhead and problems during dll destruction(of std::function). This PR changes the std::function to function pointers. This change a bit restrictions around the set_dispatch that we can get around, but will improve the general efficiency by reducing one level of indirection in the std::function. We also no longer need special marcos to register functions to the Functor.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
quantize | Loading commit data... | |
alter_op_layout.cc | Loading commit data... | |
alter_op_layout.h | Loading commit data... | |
canonicalize_cast.cc | Loading commit data... | |
canonicalize_ops.cc | Loading commit data... | |
combine_parallel_conv2d.cc | Loading commit data... | |
combine_parallel_dense.cc | Loading commit data... | |
combine_parallel_op.cc | Loading commit data... | |
combine_parallel_op.h | Loading commit data... | |
combine_parallel_op_batch.cc | Loading commit data... | |
combine_parallel_op_batch.h | Loading commit data... | |
de_duplicate.cc | Loading commit data... | |
dead_code.cc | Loading commit data... | |
dependency_graph.cc | Loading commit data... | |
dependency_graph.h | Loading commit data... | |
device_annotation.cc | Loading commit data... | |
eliminate_common_subexpr.cc | Loading commit data... | |
eta_expand.cc | Loading commit data... | |
expr_subst.cc | Loading commit data... | |
expr_subst.h | Loading commit data... | |
feature.cc | Loading commit data... | |
fold_constant.cc | Loading commit data... | |
fold_scale_axis.cc | Loading commit data... | |
forward_rewrite.cc | Loading commit data... | |
fuse_ops.cc | Loading commit data... | |
gradient.cc | Loading commit data... | |
kind_check.cc | Loading commit data... | |
legalize.cc | Loading commit data... | |
let_list.h | Loading commit data... | |
mac_count.cc | Loading commit data... | |
match_exhaustion.cc | Loading commit data... | |
partial_eval.cc | Loading commit data... | |
pass_manager.cc | Loading commit data... | |
pass_util.h | Loading commit data... | |
pattern_util.h | Loading commit data... | |
print_ir.cc | Loading commit data... | |
simplify_inference.cc | Loading commit data... | |
to_a_normal_form.cc | Loading commit data... | |
to_cps.cc | Loading commit data... | |
to_graph_normal_form.cc | Loading commit data... | |
type_infer.cc | Loading commit data... | |
type_solver.cc | Loading commit data... | |
type_solver.h | Loading commit data... | |
util.cc | Loading commit data... | |
well_formed.cc | Loading commit data... |