GraphOptions.Builder

classe final pública estática GraphOptions.Builder

tensorflow.GraphOptions type tensorflow.GraphOptions

Métodos Públicos

GraphOptions.Builder
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
GraphOptions
build ()
GraphOptions
GraphOptions.Builder
limpar ()
GraphOptions.Builder
clearBuildCostModel ()
 The number of steps to run before returning a cost model detailing
 the memory usage and performance of each node of the graph.
GraphOptions.Builder
clearBuildCostModelAfter ()
 The number of steps to skip before collecting statistics for the
 cost model.
GraphOptions.Builder
clearEnableBfloat16Sendrecv ()
 If true, transfer float values between processes as bfloat16.
GraphOptions.Builder
clearEnableRecvScheduling ()
 If true, use control flow to schedule the activation of Recv nodes.
GraphOptions.Builder
clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
GraphOptions.Builder
clearInferShapes ()
 Annotate each Node with Op output shape data, to the extent it can
 be statically inferred.
GraphOptions.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
GraphOptions.Builder
clearOptimizerOptions ()
 Options controlling how graph is optimized.
GraphOptions.Builder
clearPlacePrunedGraph ()
 Only place the subgraphs that are run, rather than the entire graph.
GraphOptions.Builder
clearRewriteOptions ()
 Options that control the type and amount of graph rewriting.
GraphOptions.Builder
clearTimelineStep ()
 If > 0, record a timeline every this many steps.
GraphOptions.Builder
clone ()
longo
getBuildCostModel ()
 The number of steps to run before returning a cost model detailing
 the memory usage and performance of each node of the graph.
longo
getBuildCostModelAfter ()
 The number of steps to skip before collecting statistics for the
 cost model.
GraphOptions
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
boleano
getEnableBfloat16Sendrecv ()
 If true, transfer float values between processes as bfloat16.
boleano
getEnableRecvScheduling ()
 If true, use control flow to schedule the activation of Recv nodes.
boleano
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.
OptimizerOptions.Builder
getOptimizerOptionsBuilder ()
 Options controlling how graph is optimized.
OptimizerOptionsOrBuilder
getOptimizerOptionsOrBuilder ()
 Options controlling how graph is optimized.
boleano
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.
RewriterConfig.Builder
getRewriteOptionsBuilder ()
 Options that control the type and amount of graph rewriting.
RewriterConfigOrBuilder
getRewriteOptionsOrBuilder ()
 Options that control the type and amount of graph rewriting.
int
getTimelineStep ()
 If > 0, record a timeline every this many steps.
boleano
hasOptimizerOptions ()
 Options controlling how graph is optimized.
boleano
hasRewriteOptions ()
 Options that control the type and amount of graph rewriting.
final booleano
GraphOptions.Builder
mergeFrom (com.google.protobuf.Message other)
GraphOptions.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GraphOptions.Builder
mergeOptimizerOptions (valor OptimizerOptions )
 Options controlling how graph is optimized.
GraphOptions.Builder
mergeRewriteOptions ( RewriterConfig valor)
 Options that control the type and amount of graph rewriting.
GraphOptions.Builder final
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
GraphOptions.Builder
setBuildCostModel (valor longo)
 The number of steps to run before returning a cost model detailing
 the memory usage and performance of each node of the graph.
GraphOptions.Builder
setBuildCostModelAfter (valor longo)
 The number of steps to skip before collecting statistics for the
 cost model.
GraphOptions.Builder
setEnableBfloat16Sendrecv (valor booleano)
 If true, transfer float values between processes as bfloat16.
GraphOptions.Builder
setEnableRecvScheduling (valor booleano)
 If true, use control flow to schedule the activation of Recv nodes.
GraphOptions.Builder
setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
GraphOptions.Builder
setInferShapes (valor booleano)
 Annotate each Node with Op output shape data, to the extent it can
 be statically inferred.
GraphOptions.Builder
setOptimizerOptions (valor OptimizerOptions )
 Options controlling how graph is optimized.
GraphOptions.Builder
setOptimizerOptions ( OptimizerOptions.Builder builderForValue)
 Options controlling how graph is optimized.
GraphOptions.Builder
setPlacePrunedGraph (valor booleano)
 Only place the subgraphs that are run, rather than the entire graph.
GraphOptions.Builder
setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)
GraphOptions.Builder
setRewriteOptions ( RewriterConfig.Builder builderForValue)
 Options that control the type and amount of graph rewriting.
GraphOptions.Builder
setRewriteOptions ( RewriterConfig valor)
 Options that control the type and amount of graph rewriting.
GraphOptions.Builder
setTimelineStep (valor int)
 If > 0, record a timeline every this many steps.
GraphOptions.Builder final
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

Métodos herdados

Métodos Públicos

public GraphOptions.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)

public GraphOptions build ()

public GraphOptions buildPartial ()

public GraphOptions.Builder clear ()

public GraphOptions.Builder clearBuildCostModel ()

 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 GraphOptions.Builder clearBuildCostModelAfter ()

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

public GraphOptions.Builder clearEnableBfloat16Sendrecv ()

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

public GraphOptions.Builder clearEnableRecvScheduling ()

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

public GraphOptions.Builder clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)

public GraphOptions.Builder clearInferShapes ()

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

public GraphOptions.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public GraphOptions.Builder clearOptimizerOptions ()

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

public GraphOptions.Builder clearPlacePrunedGraph ()

 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 GraphOptions.Builder clearRewriteOptions ()

 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 GraphOptions.Builder clearTimelineStep ()

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

public GraphOptions.Builder clone ()

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 GraphOptions getDefaultInstanceForType ()

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

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

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 OptimizerOptions.Builder getOptimizerOptionsBuilder ()

 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 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;

pública 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;

pública RewriterConfig.Builder getRewriteOptionsBuilder ()

 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;

pública 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 getTimelineStep ()

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

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 final boolean isInitialized ()

public GraphOptions.Builder mergeFrom (com.google.protobuf.Message other)

public GraphOptions.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public GraphOptions.Builder mergeOptimizerOptions (valor OptimizerOptions )

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

pública GraphOptions.Builder mergeRewriteOptions ( RewriterConfig valor)

 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 final GraphOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public GraphOptions.Builder setBuildCostModel (valor longo)

 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 GraphOptions.Builder setBuildCostModelAfter (valor longo)

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

public GraphOptions.Builder setEnableBfloat16Sendrecv (valor booleano)

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

public GraphOptions.Builder setEnableRecvScheduling (valor booleano)

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

public GraphOptions.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)

public GraphOptions.Builder setInferShapes (valor booleano)

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

public GraphOptions.Builder setOptimizerOptions (valor OptimizerOptions )

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

public GraphOptions.Builder setOptimizerOptions ( OptimizerOptions.Builder builderForValue)

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

public GraphOptions.Builder setPlacePrunedGraph (valor booleano)

 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 GraphOptions.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, int index, Object value)

pública GraphOptions.Builder setRewriteOptions ( RewriterConfig.Builder builderForValue)

 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;

públicas GraphOptions.Builder setRewriteOptions ( RewriterConfig valor)

 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 GraphOptions.Builder setTimelineStep (valor int)

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

public final GraphOptions.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)