public static final class RunOptions.Experimental.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RunOptions.Experimental.Builder> implements RunOptions.ExperimentalOrBuilder
Everything inside Experimental is subject to change and is not subject to API stability guarantees in https://www.tensorflow.org/guide/version_compat.Protobuf type
tensorflow.RunOptions.Experimental
Modifier and Type | Method and Description |
---|---|
RunOptions.Experimental.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RunOptions.Experimental |
build() |
RunOptions.Experimental |
buildPartial() |
RunOptions.Experimental.Builder |
clear() |
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).
|
RunOptions.Experimental.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
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 |
clone() |
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).
|
RunOptions.Experimental |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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; |
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.
|
boolean |
hasRunHandlerPoolOptions()
.tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RunOptions.Experimental.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RunOptions.Experimental.Builder |
mergeFrom(com.google.protobuf.Message other) |
RunOptions.Experimental.Builder |
mergeFrom(RunOptions.Experimental other) |
RunOptions.Experimental.Builder |
mergeRunHandlerPoolOptions(RunOptions.Experimental.RunHandlerPoolOptions value)
.tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3; |
RunOptions.Experimental.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RunOptions.Experimental.Builder |
setCollectiveGraphKey(long value)
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 field,
Object value) |
RunOptions.Experimental.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RunOptions.Experimental.Builder |
setRunHandlerPoolOptions(RunOptions.Experimental.RunHandlerPoolOptions.Builder builderForValue)
.tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3; |
RunOptions.Experimental.Builder |
setRunHandlerPoolOptions(RunOptions.Experimental.RunHandlerPoolOptions value)
.tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3; |
RunOptions.Experimental.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RunOptions.Experimental.Builder |
setUseRunHandlerPool(boolean value)
If true, then operations (using the inter-op pool) across all
session::run() calls will be centrally scheduled, optimizing for (median
and tail) latency.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<RunOptions.Experimental.Builder>
public RunOptions.Experimental.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<RunOptions.Experimental.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<RunOptions.Experimental.Builder>
public RunOptions.Experimental getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RunOptions.Experimental build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RunOptions.Experimental buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RunOptions.Experimental.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<RunOptions.Experimental.Builder>
public RunOptions.Experimental.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<RunOptions.Experimental.Builder>
public RunOptions.Experimental.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<RunOptions.Experimental.Builder>
public RunOptions.Experimental.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<RunOptions.Experimental.Builder>
public RunOptions.Experimental.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<RunOptions.Experimental.Builder>
public RunOptions.Experimental.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<RunOptions.Experimental.Builder>
public RunOptions.Experimental.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RunOptions.Experimental.Builder>
public RunOptions.Experimental.Builder mergeFrom(RunOptions.Experimental other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<RunOptions.Experimental.Builder>
public RunOptions.Experimental.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RunOptions.Experimental.Builder>
IOException
public 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;
getCollectiveGraphKey
in interface RunOptions.ExperimentalOrBuilder
public RunOptions.Experimental.Builder setCollectiveGraphKey(long value)
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 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;
public 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;
getUseRunHandlerPool
in interface RunOptions.ExperimentalOrBuilder
public RunOptions.Experimental.Builder setUseRunHandlerPool(boolean value)
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;
public 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. Consider using this option for CPU-bound workloads like inference.
bool use_run_handler_pool = 2;
public boolean hasRunHandlerPoolOptions()
.tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3;
hasRunHandlerPoolOptions
in interface RunOptions.ExperimentalOrBuilder
public RunOptions.Experimental.RunHandlerPoolOptions getRunHandlerPoolOptions()
.tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3;
getRunHandlerPoolOptions
in interface RunOptions.ExperimentalOrBuilder
public RunOptions.Experimental.Builder setRunHandlerPoolOptions(RunOptions.Experimental.RunHandlerPoolOptions value)
.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;
public RunOptions.Experimental.Builder mergeRunHandlerPoolOptions(RunOptions.Experimental.RunHandlerPoolOptions value)
.tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3;
public RunOptions.Experimental.Builder clearRunHandlerPoolOptions()
.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;
getRunHandlerPoolOptionsOrBuilder
in interface RunOptions.ExperimentalOrBuilder
public final RunOptions.Experimental.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RunOptions.Experimental.Builder>
public final RunOptions.Experimental.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RunOptions.Experimental.Builder>
Copyright © 2015–2022. All rights reserved.