Interface RunOptions.ExperimentalOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
RunOptions.Experimental, RunOptions.Experimental.Builder
Enclosing class:
RunOptions

public static interface RunOptions.ExperimentalOrBuilder extends MessageOrBuilder
  • Method Details

    • getCollectiveGraphKey

      long getCollectiveGraphKey()
      If non-zero, declares that this graph is going to use collective
      ops and must synchronize step_ids with any other graph with this
      same group_key value (in a distributed computation where tasks
      run disjoint graphs).
      
      int64 collective_graph_key = 1;
      Returns:
      The collectiveGraphKey.
    • getUseRunHandlerPool

      boolean getUseRunHandlerPool()
      If true, then operations (using the inter-op pool) across all
      session::run() calls will be centrally scheduled, optimizing for (median
      and tail) latency.
      Consider using this option for CPU-bound workloads like inference.
      
      bool use_run_handler_pool = 2;
      Returns:
      The useRunHandlerPool.
    • hasRunHandlerPoolOptions

      boolean hasRunHandlerPoolOptions()
      .tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3;
      Returns:
      Whether the runHandlerPoolOptions field is set.
    • getRunHandlerPoolOptions

      .tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3;
      Returns:
      The runHandlerPoolOptions.
    • getRunHandlerPoolOptionsOrBuilder

      RunOptions.Experimental.RunHandlerPoolOptionsOrBuilder getRunHandlerPoolOptionsOrBuilder()
      .tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3;