public final class GraphOptions extends com.google.protobuf.GeneratedMessageV3 implements GraphOptionsOrBuilder
tensorflow.GraphOptions
Modifier and Type | Class and Description |
---|---|
static class |
GraphOptions.Builder
Protobuf type
tensorflow.GraphOptions |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
BUILD_COST_MODEL_AFTER_FIELD_NUMBER |
static int |
BUILD_COST_MODEL_FIELD_NUMBER |
static int |
ENABLE_BFLOAT16_SENDRECV_FIELD_NUMBER |
static int |
ENABLE_RECV_SCHEDULING_FIELD_NUMBER |
static int |
INFER_SHAPES_FIELD_NUMBER |
static int |
OPTIMIZER_OPTIONS_FIELD_NUMBER |
static int |
PLACE_PRUNED_GRAPH_FIELD_NUMBER |
static int |
REWRITE_OPTIONS_FIELD_NUMBER |
static int |
TIMELINE_STEP_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getBuildCostModel()
The number of steps to run before returning a cost model detailing
the memory usage and performance of each node of the graph.
|
long |
getBuildCostModelAfter()
The number of steps to skip before collecting statistics for the
cost model.
|
static GraphOptions |
getDefaultInstance() |
GraphOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getEnableBfloat16Sendrecv()
If true, transfer float values between processes as bfloat16.
|
boolean |
getEnableRecvScheduling()
If true, use control flow to schedule the activation of Recv nodes.
|
boolean |
getInferShapes()
Annotate each Node with Op output shape data, to the extent it can
be statically inferred.
|
OptimizerOptions |
getOptimizerOptions()
Options controlling how graph is optimized.
|
OptimizerOptionsOrBuilder |
getOptimizerOptionsOrBuilder()
Options controlling how graph is optimized.
|
com.google.protobuf.Parser<GraphOptions> |
getParserForType() |
boolean |
getPlacePrunedGraph()
Only place the subgraphs that are run, rather than the entire graph.
|
RewriterConfig |
getRewriteOptions()
Options that control the type and amount of graph rewriting.
|
RewriterConfigOrBuilder |
getRewriteOptionsOrBuilder()
Options that control the type and amount of graph rewriting.
|
int |
getSerializedSize() |
int |
getTimelineStep()
If > 0, record a timeline every this many steps.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasOptimizerOptions()
Options controlling how graph is optimized.
|
boolean |
hasRewriteOptions()
Options that control the type and amount of graph rewriting.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static GraphOptions.Builder |
newBuilder() |
static GraphOptions.Builder |
newBuilder(GraphOptions prototype) |
GraphOptions.Builder |
newBuilderForType() |
protected GraphOptions.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static GraphOptions |
parseDelimitedFrom(InputStream input) |
static GraphOptions |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GraphOptions |
parseFrom(byte[] data) |
static GraphOptions |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GraphOptions |
parseFrom(com.google.protobuf.ByteString data) |
static GraphOptions |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GraphOptions |
parseFrom(com.google.protobuf.CodedInputStream input) |
static GraphOptions |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GraphOptions |
parseFrom(InputStream input) |
static GraphOptions |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<GraphOptions> |
parser() |
GraphOptions.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int ENABLE_RECV_SCHEDULING_FIELD_NUMBER
public static final int OPTIMIZER_OPTIONS_FIELD_NUMBER
public static final int BUILD_COST_MODEL_FIELD_NUMBER
public static final int BUILD_COST_MODEL_AFTER_FIELD_NUMBER
public static final int INFER_SHAPES_FIELD_NUMBER
public static final int PLACE_PRUNED_GRAPH_FIELD_NUMBER
public static final int ENABLE_BFLOAT16_SENDRECV_FIELD_NUMBER
public static final int TIMELINE_STEP_FIELD_NUMBER
public static final int REWRITE_OPTIONS_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean getEnableRecvScheduling()
If true, use control flow to schedule the activation of Recv nodes. (Currently ignored.)
bool enable_recv_scheduling = 2;
getEnableRecvScheduling
in interface GraphOptionsOrBuilder
public boolean hasOptimizerOptions()
Options controlling how graph is optimized.
.tensorflow.OptimizerOptions optimizer_options = 3;
hasOptimizerOptions
in interface GraphOptionsOrBuilder
public OptimizerOptions getOptimizerOptions()
Options controlling how graph is optimized.
.tensorflow.OptimizerOptions optimizer_options = 3;
getOptimizerOptions
in interface GraphOptionsOrBuilder
public OptimizerOptionsOrBuilder getOptimizerOptionsOrBuilder()
Options controlling how graph is optimized.
.tensorflow.OptimizerOptions optimizer_options = 3;
getOptimizerOptionsOrBuilder
in interface GraphOptionsOrBuilder
public long getBuildCostModel()
The number of steps to run before returning a cost model detailing the memory usage and performance of each node of the graph. 0 means no cost model.
int64 build_cost_model = 4;
getBuildCostModel
in interface GraphOptionsOrBuilder
public long getBuildCostModelAfter()
The number of steps to skip before collecting statistics for the cost model.
int64 build_cost_model_after = 9;
getBuildCostModelAfter
in interface GraphOptionsOrBuilder
public boolean getInferShapes()
Annotate each Node with Op output shape data, to the extent it can be statically inferred.
bool infer_shapes = 5;
getInferShapes
in interface GraphOptionsOrBuilder
public boolean getPlacePrunedGraph()
Only place the subgraphs that are run, rather than the entire graph. This is useful for interactive graph building, where one might produce graphs that cannot be placed during the debugging process. In particular, it allows the client to continue work in a session after adding a node to a graph whose placement constraints are unsatisfiable.
bool place_pruned_graph = 6;
getPlacePrunedGraph
in interface GraphOptionsOrBuilder
public boolean getEnableBfloat16Sendrecv()
If true, transfer float values between processes as bfloat16.
bool enable_bfloat16_sendrecv = 7;
getEnableBfloat16Sendrecv
in interface GraphOptionsOrBuilder
public int getTimelineStep()
If > 0, record a timeline every this many steps. EXPERIMENTAL: This currently has no effect in MasterSession.
int32 timeline_step = 8;
getTimelineStep
in interface GraphOptionsOrBuilder
public boolean hasRewriteOptions()
Options that control the type and amount of graph rewriting.
.tensorflow.RewriterConfig rewrite_options = 10;
hasRewriteOptions
in interface GraphOptionsOrBuilder
public RewriterConfig getRewriteOptions()
Options that control the type and amount of graph rewriting.
.tensorflow.RewriterConfig rewrite_options = 10;
getRewriteOptions
in interface GraphOptionsOrBuilder
public RewriterConfigOrBuilder getRewriteOptionsOrBuilder()
Options that control the type and amount of graph rewriting.
.tensorflow.RewriterConfig rewrite_options = 10;
getRewriteOptionsOrBuilder
in interface GraphOptionsOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static GraphOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static GraphOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static GraphOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static GraphOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static GraphOptions parseFrom(InputStream input) throws IOException
IOException
public static GraphOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static GraphOptions parseDelimitedFrom(InputStream input) throws IOException
IOException
public static GraphOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static GraphOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static GraphOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public GraphOptions.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static GraphOptions.Builder newBuilder()
public static GraphOptions.Builder newBuilder(GraphOptions prototype)
public GraphOptions.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected GraphOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static GraphOptions getDefaultInstance()
public static com.google.protobuf.Parser<GraphOptions> parser()
public com.google.protobuf.Parser<GraphOptions> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public GraphOptions getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2015–2017. All rights reserved.