giao diện công cộng GraphOptionsOrBuilder
Các lớp con gián tiếp đã biết |
Phương pháp công cộng
trừu tượng dài | getBuildCostModel () The number of steps to run before returning a cost model detailing the memory usage and performance of each node of the graph. |
trừu tượng dài | getBuildCostModelAfter () The number of steps to skip before collecting statistics for the cost model. |
trừu tượng boolean | getEnableBfloat16Sendrecv () If true, transfer float values between processes as bfloat16. |
trừu tượng boolean | getEnableRecvScheduling () If true, use control flow to schedule the activation of Recv nodes. |
trừu tượng boolean | getInferShapes () Annotate each Node with Op output shape data, to the extent it can be statically inferred. |
Tùy chọn tối ưu hóa trừu tượng | getOptimizerOptions () Options controlling how graph is optimized. |
trừu tượng OptimizerOptionsOrBuilder | getOptimizerOptionsOrBuilder () Options controlling how graph is optimized. |
trừu tượng boolean | getPlacePrunedGraph () Only place the subgraphs that are run, rather than the entire graph. |
RewriterConfig trừu tượng | getRewriteOptions () Options that control the type and amount of graph rewriting. |
tóm tắt RewriterConfigOrBuilder | getRewriteOptionsOrBuilder () Options that control the type and amount of graph rewriting. |
int trừu tượng | getTimelineStep () If > 0, record a timeline every this many steps. |
trừu tượng boolean | hasOptimizerOptions () Options controlling how graph is optimized. |
trừu tượng boolean | hasRewriteOptions () Options that control the type and amount of graph rewriting. |
Phương pháp công cộng
tóm tắt công khai dài 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;
tóm tắt công khai dài getBuildCostModelAfter ()
The number of steps to skip before collecting statistics for the cost model.
int64 build_cost_model_after = 9;
boolean trừu tượng công khai getEnableBfloat16Sendrecv ()
If true, transfer float values between processes as bfloat16.
bool enable_bfloat16_sendrecv = 7;
boolean trừu tượng công khai getEnableRecvScheduling ()
If true, use control flow to schedule the activation of Recv nodes. (Currently ignored.)
bool enable_recv_scheduling = 2;
boolean trừu tượng công khai getInferShapes ()
Annotate each Node with Op output shape data, to the extent it can be statically inferred.
bool infer_shapes = 5;
Tóm tắt công khai OptimizerOptions getOptimizerOptions ()
Options controlling how graph is optimized.
.tensorflow.OptimizerOptions optimizer_options = 3;
Tóm tắt công khai OptimizerOptionsOrBuilder getOptimizerOptionsOrBuilder ()
Options controlling how graph is optimized.
.tensorflow.OptimizerOptions optimizer_options = 3;
boolean trừu tượng công khai 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;
tóm tắt công khai 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;
tóm tắt công khai 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;
tóm tắt công khai int getTimelineStep ()
If > 0, record a timeline every this many steps. EXPERIMENTAL: This currently has no effect in MasterSession.
int32 timeline_step = 8;
boolean trừu tượng công khai hasOptimizerOptions ()
Options controlling how graph is optimized.
.tensorflow.OptimizerOptions optimizer_options = 3;
boolean trừu tượng công khai 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;