diff options
Diffstat (limited to 'tensorflow/core/grappler/clusters/cluster.h')
-rw-r--r-- | tensorflow/core/grappler/clusters/cluster.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tensorflow/core/grappler/clusters/cluster.h b/tensorflow/core/grappler/clusters/cluster.h index 06db36b3aa..e94fb900c0 100644 --- a/tensorflow/core/grappler/clusters/cluster.h +++ b/tensorflow/core/grappler/clusters/cluster.h @@ -65,6 +65,9 @@ class Cluster { // with reftype input(s) which are from CPU. void AllowSoftPlacement(bool soft_placement_state); + // Update the number of inter-op threads for each per-session threadpool + void SetNumInterOpThreads(int num_threads); + // Set the number of steps required to warmup TensorFlow. Must be called // before Provision(). void SetNumWarmupSteps(int num_steps); |