f_set_graph_executor_optimize

Function f_set_graph_executor_optimize 

Source
pub fn f_set_graph_executor_optimize(b: bool) -> Result<(), TchError>
Expand description

Enables or disables the graph executor optimizer for the current thread.

ยงArguments

  • b - A boolean that if true enables the graph executor optimizer for the current thread.

This function returns an error if it is not possible to enable or disable the graph executor optimizer.