public final class GraphOptions
tensorflow.GraphOptions
type tensorflow.GraphOptions
Classes aninhadas
aula | GraphOptions.Builder | tensorflow.GraphOptions type tensorflow.GraphOptions |
Constantes
Métodos Públicos
boleano | igual a (objeto obj) |
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 estáticos | |
GraphOptions | |
final static 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. |
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. |
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 | |
boleano | hasOptimizerOptions () Options controlling how graph is optimized. |
boleano | hasRewriteOptions () Options that control the type and amount of graph rewriting. |
int | hashCode () |
final booleano | |
GraphOptions.Builder estático | newBuilder () |
GraphOptions.Builder estático | newBuilder (protótipo GraphOptions ) |
GraphOptions.Builder | |
GraphOptions estáticos | parseDelimitedFrom (input InputStream) |
GraphOptions estáticos | parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GraphOptions estáticos | parseFrom (dados ByteBuffer) |
GraphOptions estáticos | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GraphOptions estáticos | parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GraphOptions estáticos | parseFrom (com.google.protobuf.CodedInputStream input) |
GraphOptions estáticos | parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GraphOptions estáticos | parseFrom (com.google.protobuf.ByteString data) |
GraphOptions estáticos | parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GraphOptions estáticos | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
GraphOptions.Builder | toBuilder () |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
public static final int BUILD_COST_MODEL_AFTER_FIELD_NUMBER
Valor constante: 9
public static final int BUILD_COST_MODEL_FIELD_NUMBER
Valor constante: 4
public static final int ENABLE_BFLOAT16_SENDRECV_FIELD_NUMBER
Valor constante: 7
public static final int ENABLE_RECV_SCHEDULING_FIELD_NUMBER
Valor constante: 2
public static final int INFER_SHAPES_FIELD_NUMBER
Valor constante: 5
public static final int OPTIMIZER_OPTIONS_FIELD_NUMBER
Valor Constante: 3
public static final int PLACE_PRUNED_GRAPH_FIELD_NUMBER
Valor constante: 6
public static final int REWRITE_OPTIONS_FIELD_NUMBER
Valor constante: 10
public static final int TIMELINE_STEP_FIELD_NUMBER
Valor constante: 8
Métodos Públicos
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 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;
público 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;
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 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 parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static GraphOptions parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static GraphOptions parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static GraphOptions parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static GraphOptions parseFrom (com.google.protobuf.ByteString data)
Lança
InvalidProtocolBufferException |
---|
public static GraphOptions parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static GraphOptions parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
IOException |
---|