Everything inside Experimental is subject to change and is not subject to API stability guarantees in https://www.tensorflow.org/guide/version_compat.Тип protobuf
tensorflow.RunOptions.Experimental
Публичные методы
RunOptions.Experimental.Builder | addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
RunOptions.Экспериментальный | строить () |
RunOptions.Экспериментальный | |
RunOptions.Experimental.Builder | прозрачный () |
RunOptions.Experimental.Builder | ОчиститьКоллективеГрафКей () 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). |
RunOptions.Experimental.Builder | ClearField (поле com.google.protobuf.Descriptors.FieldDescriptor) |
RunOptions.Experimental.Builder | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RunOptions.Experimental.Builder | ClearRunHandlerPoolOptions () .tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3; |
RunOptions.Experimental.Builder | ClearUseRunHandlerPool () If true, then operations (using the inter-op pool) across all session::run() calls will be centrally scheduled, optimizing for (median and tail) latency. |
RunOptions.Experimental.Builder | клон () |
длинный | 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). |
RunOptions.Экспериментальный | |
окончательный статический com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
RunOptions.Experimental.RunHandlerPoolOptions | getRunHandlerPoolOptions () .tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3; |
RunOptions.Experimental.RunHandlerPoolOptions.Builder | getRunHandlerPoolOptionsBuilder () .tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3; |
RunOptions.Experimental.RunHandlerPoolOptionsOrBuilder | getRunHandlerPoolOptionsOrBuilder () .tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3; |
логическое значение | 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. |
логическое значение | хасрунхандлерпулопционс () .tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3; |
последнее логическое значение | |
RunOptions.Experimental.Builder | mergeFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
RunOptions.Experimental.Builder | mergeFrom (com.google.protobuf.Message другое) |
RunOptions.Experimental.Builder | mergeRunHandlerPoolOptions (значение RunOptions.Experimental.RunHandlerPoolOptions ) .tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3; |
окончательный RunOptions.Experimental.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
RunOptions.Experimental.Builder | setCollectiveGraphKey (длинное значение) 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). |
RunOptions.Experimental.Builder | setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
RunOptions.Experimental.Builder | setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта) |
RunOptions.Experimental.Builder | setRunHandlerPoolOptions (значение RunOptions.Experimental.RunHandlerPoolOptions ) .tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3; |
RunOptions.Experimental.Builder | setRunHandlerPoolOptions ( RunOptions.Experimental.RunHandlerPoolOptions.Builder builderForValue) .tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3; |
окончательный RunOptions.Experimental.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
RunOptions.Experimental.Builder | setUseRunHandlerPool (логическое значение) If true, then operations (using the inter-op pool) across all session::run() calls will be centrally scheduled, optimizing for (median and tail) latency. |
Унаследованные методы
Публичные методы
public RunOptions.Experimental.Builder addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
общедоступный RunOptions.Experimental.Builder ClearCollectiveGraphKey ()
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;
общедоступный RunOptions.Experimental.Builder ClearField (поле com.google.protobuf.Descriptors.FieldDescriptor)
общедоступный RunOptions.Experimental.Builder ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
public RunOptions.Experimental.Builder ClearRunHandlerPoolOptions ()
.tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3;
public RunOptions.Experimental.BuildercleUseRunHandlerPool ( )
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;
общедоступный длинный 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;
общедоступный статический окончательный com.google.protobuf.Descriptors.Descriptor getDescriptor ()
общедоступный com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public RunOptions.Experimental.RunHandlerPoolOptions getRunHandlerPoolOptions ()
.tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3;
public RunOptions.Experimental.RunHandlerPoolOptions.Builder getRunHandlerPoolOptionsBuilder ()
.tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3;
public RunOptions.Experimental.RunHandlerPoolOptionsOrBuilder getRunHandlerPoolOptionsOrBuilder ()
.tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3;
общедоступное логическое значение 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;
общедоступное логическое значение hasRunHandlerPoolOptions ()
.tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3;
публичное окончательное логическое значение isInitialized ()
общедоступный RunOptions.Experimental.Builder mergeFrom (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Исключение IO |
---|
public RunOptions.Experimental.Builder mergeRunHandlerPoolOptions (значение RunOptions.Experimental.RunHandlerPoolOptions )
.tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3;
общедоступный финальный RunOptions.Experimental.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public RunOptions.Experimental.Builder setCollectiveGraphKey (длинное значение)
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;
public RunOptions.Experimental.Builder setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
public RunOptions.Experimental.Builder setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта)
public RunOptions.Experimental.Builder setRunHandlerPoolOptions (значение RunOptions.Experimental.RunHandlerPoolOptions )
.tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3;
public RunOptions.Experimental.Builder setRunHandlerPoolOptions ( RunOptions.Experimental.RunHandlerPoolOptions.Builder builderForValue)
.tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3;
общедоступный финальный RunOptions.Experimental.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public RunOptions.Experimental.Builder setUseRunHandlerPool (логическое значение)
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;