GraphOptions

public final class GraphOptions

Protobuf type tensorflow.GraphOptions

Nested Classes

class GraphOptions.Builder Protobuf type tensorflow.GraphOptions  

Constants

int BUILD_COST_MODEL_AFTER_FIELD_NUMBER
int BUILD_COST_MODEL_FIELD_NUMBER
int ENABLE_BFLOAT16_SENDRECV_FIELD_NUMBER
int ENABLE_RECV_SCHEDULING_FIELD_NUMBER
int INFER_SHAPES_FIELD_NUMBER
int OPTIMIZER_OPTIONS_FIELD_NUMBER
int PLACE_PRUNED_GRAPH_FIELD_NUMBER
int REWRITE_OPTIONS_FIELD_NUMBER
int TIMELINE_STEP_FIELD_NUMBER

Public Methods

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
GraphOptions
final static com.google.protobuf.Descriptors.Descriptor
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.
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
int
getTimelineStep()
 If > 0, record a timeline every this many steps.
final com.google.protobuf.UnknownFieldSet
boolean
hasOptimizerOptions()
 Options controlling how graph is optimized.
boolean
hasRewriteOptions()
 Options that control the type and amount of graph rewriting.
int
final boolean
static GraphOptions.Builder
static GraphOptions.Builder
GraphOptions.Builder
static GraphOptions
parseDelimitedFrom(InputStream input)
static GraphOptions
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GraphOptions
parseFrom(ByteBuffer data)
static GraphOptions
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GraphOptions
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GraphOptions
parseFrom(com.google.protobuf.CodedInputStream input)
static GraphOptions
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GraphOptions
parseFrom(com.google.protobuf.ByteString data)
static GraphOptions
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GraphOptions
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
GraphOptions.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int BUILD_COST_MODEL_AFTER_FIELD_NUMBER

Constant Value: 9

public static final int BUILD_COST_MODEL_FIELD_NUMBER

Constant Value: 4

public static final int ENABLE_BFLOAT16_SENDRECV_FIELD_NUMBER

Constant Value: 7

public static final int ENABLE_RECV_SCHEDULING_FIELD_NUMBER

Constant Value: 2

public static final int INFER_SHAPES_FIELD_NUMBER

Constant Value: 5

public static final int OPTIMIZER_OPTIONS_FIELD_NUMBER

Constant Value: 3

public static final int PLACE_PRUNED_GRAPH_FIELD_NUMBER

Constant Value: 6

public static final int REWRITE_OPTIONS_FIELD_NUMBER

Constant Value: 10

public static final int TIMELINE_STEP_FIELD_NUMBER

Constant Value: 8

Public Methods

public boolean equals (Object obj)

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;

public long getBuildCostModelAfter ()

 The number of steps to skip before collecting statistics for the
 cost model.
 
int64 build_cost_model_after = 9;

public static GraphOptions getDefaultInstance ()

public GraphOptions getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public boolean getEnableBfloat16Sendrecv ()

 If true, transfer float values between processes as bfloat16.
 
bool enable_bfloat16_sendrecv = 7;

public boolean getEnableRecvScheduling ()

 If true, use control flow to schedule the activation of Recv nodes.
 (Currently ignored.)
 
bool enable_recv_scheduling = 2;

public boolean getInferShapes ()

 Annotate each Node with Op output shape data, to the extent it can
 be statically inferred.
 
bool infer_shapes = 5;

public OptimizerOptions getOptimizerOptions ()

 Options controlling how graph is optimized.
 
.tensorflow.OptimizerOptions optimizer_options = 3;

public OptimizerOptionsOrBuilder getOptimizerOptionsOrBuilder ()

 Options controlling how graph is optimized.
 
.tensorflow.OptimizerOptions optimizer_options = 3;

public getParserForType ()

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;

public RewriterConfig getRewriteOptions ()

 Options that control the type and amount of graph rewriting.
 Not currently configurable via the public Python API (i.e. there is no API
 stability guarantee if you import RewriterConfig explicitly).
 
.tensorflow.RewriterConfig rewrite_options = 10;

public RewriterConfigOrBuilder getRewriteOptionsOrBuilder ()

 Options that control the type and amount of graph rewriting.
 Not currently configurable via the public Python API (i.e. there is no API
 stability guarantee if you import RewriterConfig explicitly).
 
.tensorflow.RewriterConfig rewrite_options = 10;

public int getSerializedSize ()

public int getTimelineStep ()

 If > 0, record a timeline every this many steps.
 EXPERIMENTAL: This currently has no effect in MasterSession.
 
int32 timeline_step = 8;

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public boolean hasOptimizerOptions ()

 Options controlling how graph is optimized.
 
.tensorflow.OptimizerOptions optimizer_options = 3;

public boolean hasRewriteOptions ()

 Options that control the type and amount of graph rewriting.
 Not currently configurable via the public Python API (i.e. there is no API
 stability guarantee if you import RewriterConfig explicitly).
 
.tensorflow.RewriterConfig rewrite_options = 10;

public int hashCode ()

public final boolean isInitialized ()

public static GraphOptions.Builder newBuilder ()

public static GraphOptions.Builder newBuilder (GraphOptions prototype)

public GraphOptions.Builder newBuilderForType ()

public static GraphOptions parseDelimitedFrom (InputStream input)

Throws
IOException

public static GraphOptions parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static GraphOptions parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static GraphOptions parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static GraphOptions parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static GraphOptions parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static GraphOptions parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static GraphOptions parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static GraphOptions parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static GraphOptions parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public GraphOptions.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream output)

Throws
IOException