giao diện tĩnh công cộng RunOptions.ExperimentalOrBuilder
Các lớp con gián tiếp đã biết |
Phương pháp công cộng
trừu tượng dài | 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). |
trừu tượng RunOptions.Experimental.RunHandlerPoolOptions | getRunHandlerPoolOptions () .tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3; |
trừu tượng RunOptions.Experimental.RunHandlerPoolOptionsOrBuilder | getRunHandlerPoolOptionsOrBuilder () .tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3; |
trừu tượng 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. |
trừu tượng boolean | hasRunHandlerPoolOptions () .tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3; |
Phương pháp công cộng
tóm tắt công khai dài 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;
tóm tắt công khai RunOptions.Experimental.RunHandlerPoolOptions getRunHandlerPoolOptions ()
.tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3;
tóm tắt công khai RunOptions.Experimental.RunHandlerPoolOptionsOrBuilder getRunHandlerPoolOptionsOrBuilder ()
.tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3;
boolean trừu tượng công khai 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;
boolean trừu tượng công khai hasRunHandlerPoolOptions ()
.tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3;