public interface OptimizerOptionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
getDoCommonSubexpressionElimination()
If true, optimize the graph using common subexpression elimination.
|
boolean |
getDoConstantFolding()
If true, perform constant folding optimization on the graph.
|
boolean |
getDoFunctionInlining()
If true, perform function inlining on the graph.
|
OptimizerOptions.GlobalJitLevel |
getGlobalJitLevel()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
int |
getGlobalJitLevelValue()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
OptimizerOptions.Level |
getOptLevel()
Overall optimization level.
|
int |
getOptLevelValue()
Overall optimization level.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean getDoCommonSubexpressionElimination()
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
boolean getDoConstantFolding()
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
boolean getDoFunctionInlining()
If true, perform function inlining on the graph.
bool do_function_inlining = 4;
int getOptLevelValue()
Overall optimization level. The actual optimizations applied will be the logical OR of the flags that this level implies and any flags already set.
.tensorflow.OptimizerOptions.Level opt_level = 3;
OptimizerOptions.Level getOptLevel()
Overall optimization level. The actual optimizations applied will be the logical OR of the flags that this level implies and any flags already set.
.tensorflow.OptimizerOptions.Level opt_level = 3;
int getGlobalJitLevelValue()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
OptimizerOptions.GlobalJitLevel getGlobalJitLevel()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
Copyright © 2015–2017. All rights reserved.