Function tch::jit::set_graph_executor_optimize
source · pub fn set_graph_executor_optimize(b: bool)
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 panics if it is not possible to enable or disable the graph executor optimizer.