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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean getEnableRecvScheduling()
If true, use control flow to schedule the activation of Recv nodes. (Currently ignored.)
bool enable_recv_scheduling = 2;getEnableRecvScheduling in interface GraphOptionsOrBuilderpublic boolean hasOptimizerOptions()
Options controlling how graph is optimized.
.tensorflow.OptimizerOptions optimizer_options = 3;hasOptimizerOptions in interface GraphOptionsOrBuilderpublic OptimizerOptions getOptimizerOptions()
Options controlling how graph is optimized.
.tensorflow.OptimizerOptions optimizer_options = 3;getOptimizerOptions in interface GraphOptionsOrBuilderpublic OptimizerOptionsOrBuilder getOptimizerOptionsOrBuilder()
Options controlling how graph is optimized.
.tensorflow.OptimizerOptions optimizer_options = 3;getOptimizerOptionsOrBuilder in interface GraphOptionsOrBuilderpublic 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 GraphOptionsOrBuilderpublic long getBuildCostModelAfter()
The number of steps to skip before collecting statistics for the cost model.
int64 build_cost_model_after = 9;getBuildCostModelAfter in interface GraphOptionsOrBuilderpublic 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 GraphOptionsOrBuilderpublic 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 GraphOptionsOrBuilderpublic boolean getEnableBfloat16Sendrecv()
If true, transfer float values between processes as bfloat16.
bool enable_bfloat16_sendrecv = 7;getEnableBfloat16Sendrecv in interface GraphOptionsOrBuilderpublic 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 GraphOptionsOrBuilderpublic boolean hasRewriteOptions()
Options that control the type and amount of graph rewriting.
.tensorflow.RewriterConfig rewrite_options = 10;hasRewriteOptions in interface GraphOptionsOrBuilderpublic RewriterConfig getRewriteOptions()
Options that control the type and amount of graph rewriting.
.tensorflow.RewriterConfig rewrite_options = 10;getRewriteOptions in interface GraphOptionsOrBuilderpublic RewriterConfigOrBuilder getRewriteOptionsOrBuilder()
Options that control the type and amount of graph rewriting.
.tensorflow.RewriterConfig rewrite_options = 10;getRewriteOptionsOrBuilder in interface GraphOptionsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
             throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static GraphOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GraphOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GraphOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GraphOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GraphOptions parseFrom(InputStream input) throws IOException
IOExceptionpublic static GraphOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GraphOptions parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GraphOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GraphOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static GraphOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic GraphOptions.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static GraphOptions.Builder newBuilder()
public static GraphOptions.Builder newBuilder(GraphOptions prototype)
public GraphOptions.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected GraphOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static GraphOptions getDefaultInstance()
public static com.google.protobuf.Parser<GraphOptions> parser()
public com.google.protobuf.Parser<GraphOptions> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public GraphOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2015–2017. All rights reserved.