Options passed to the graph optimizerProtobuf türü
tensorflow.OptimizerOptions
Genel Yöntemler
OptimizerOptions.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri) |
Optimize Edici Seçenekleri | inşa etmek () |
Optimize Edici Seçenekleri | inşaKısmi () |
OptimizerOptions.Builder | temizlemek () |
OptimizerOptions.Builder | clearDoCommonSubexpressionElimination () If true, optimize the graph using common subexpression elimination. |
OptimizerOptions.Builder | clearDoConstantFolding () If true, perform constant folding optimization on the graph. |
OptimizerOptions.Builder | clearDoFunctionInlining () If true, perform function inlining on the graph. |
OptimizerOptions.Builder | clearField (com.google.protobuf.Descriptors.FieldDescriptor alanı) |
OptimizerOptions.Builder | clearGlobalJitLevel () .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
OptimizerOptions.Builder | clearMaxFoldedConstantInBytes () Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. |
OptimizerOptions.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OptimizerOptions.Builder | clearOptLevel () Overall optimization level. |
OptimizerOptions.Builder | klon () |
Optimize Edici Seçenekleri | |
final statik com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
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; |
uzun | getMaxFoldedConstantInBytes () Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. |
OptimizerOptions.Level | getOptLevel () Overall optimization level. |
int | getOptLevelValue () Overall optimization level. |
son boole değeri | Başlatıldı () |
OptimizerOptions.Builder | mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OptimizerOptions.Builder | mergeFrom (com.google.protobuf.Message other) |
son OptimizerOptions.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields) |
OptimizerOptions.Builder | setDoCommonSubexpressionElimination (boole değeri) If true, optimize the graph using common subexpression elimination. |
OptimizerOptions.Builder | setDoConstantFolding (boole değeri) If true, perform constant folding optimization on the graph. |
OptimizerOptions.Builder | setDoFunctionInlining (boole değeri) If true, perform function inlining on the graph. |
OptimizerOptions.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri) |
OptimizerOptions.Builder | setGlobalJitLevel ( OptimizerOptions.GlobalJitLevel değeri) .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
OptimizerOptions.Builder | setGlobalJitLevelValue (int değeri) .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
OptimizerOptions.Builder | setMaxFoldedConstantInBytes (uzun değer) Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. |
OptimizerOptions.Builder | |
OptimizerOptions.Builder | setOptLevelValue (int değeri) Overall optimization level. |
OptimizerOptions.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, int dizini, Nesne değeri) |
son OptimizerOptions.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet bilinmeyenFields) |
Kalıtsal Yöntemler
Genel Yöntemler
public OptimizerOptions.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri)
public OptimizerOptions.Builder clearDoCommonSubexpressionElimination ()
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
public OptimizerOptions.Builder clearDoConstantFolding ()
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
public OptimizerOptions.Builder clearDoFunctionInlining ()
If true, perform function inlining on the graph.
bool do_function_inlining = 4;
public OptimizerOptions.Builder clearGlobalJitLevel ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
public OptimizerOptions.Builder clearMaxFoldedConstantInBytes ()
Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. To avoid inserting too large constants, the size of each constant created can be limited. If this value is zero, a default limit of 10 MiB will be applied. If constant folding optimization is disabled, this value is ignored.
int64 max_folded_constant_in_bytes = 6;
public OptimizerOptions.Builder clearOptLevel ()
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;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
genel boolean getDoCommonSubexpressionElimination ()
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
genel boolean getDoConstantFolding ()
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
genel boolean getDoFunctionInlining ()
If true, perform function inlining on the graph.
bool do_function_inlining = 4;
public OptimizerOptions.GlobalJitLevel getGlobalJitLevel ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
public int getGlobalJitLevelValue ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
halka açık uzun getMaxFoldedConstantInBytes ()
Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. To avoid inserting too large constants, the size of each constant created can be limited. If this value is zero, a default limit of 10 MiB will be applied. If constant folding optimization is disabled, this value is ignored.
int64 max_folded_constant_in_bytes = 6;
public 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;
public 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;
genel final boolean isInitialized ()
public OptimizerOptions.Builder mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IO İstisnası |
---|
genel final OptimizerOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields)
public OptimizerOptions.Builder setDoCommonSubexpressionElimination (boole değeri)
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
public OptimizerOptions.Builder setDoConstantFolding (boole değeri)
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
public OptimizerOptions.Builder setDoFunctionInlining (boole değeri)
If true, perform function inlining on the graph.
bool do_function_inlining = 4;
public OptimizerOptions.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri)
public OptimizerOptions.Builder setGlobalJitLevel ( OptimizerOptions.GlobalJitLevel değeri)
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
public OptimizerOptions.Builder setGlobalJitLevelValue (int değer)
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
public OptimizerOptions.Builder setMaxFoldedConstantInBytes (uzun değer)
Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. To avoid inserting too large constants, the size of each constant created can be limited. If this value is zero, a default limit of 10 MiB will be applied. If constant folding optimization is disabled, this value is ignored.
int64 max_folded_constant_in_bytes = 6;
public OptimizerOptions.Builder setOptLevel ( OptimizerOptions.Level değeri)
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;
public OptimizerOptions.Builder setOptLevelValue (int değeri)
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;
public OptimizerOptions.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, int dizini, Nesne değeri)
genel final OptimizerOptions.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields)
Options passed to the graph optimizerProtobuf türü
tensorflow.OptimizerOptions
Genel Yöntemler
OptimizerOptions.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri) |
Optimize Edici Seçenekleri | inşa etmek () |
Optimize Edici Seçenekleri | inşaKısmi () |
OptimizerOptions.Builder | temizlemek () |
OptimizerOptions.Builder | clearDoCommonSubexpressionElimination () If true, optimize the graph using common subexpression elimination. |
OptimizerOptions.Builder | clearDoConstantFolding () If true, perform constant folding optimization on the graph. |
OptimizerOptions.Builder | clearDoFunctionInlining () If true, perform function inlining on the graph. |
OptimizerOptions.Builder | clearField (com.google.protobuf.Descriptors.FieldDescriptor alanı) |
OptimizerOptions.Builder | clearGlobalJitLevel () .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
OptimizerOptions.Builder | clearMaxFoldedConstantInBytes () Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. |
OptimizerOptions.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OptimizerOptions.Builder | clearOptLevel () Overall optimization level. |
OptimizerOptions.Builder | klon () |
Optimize Edici Seçenekleri | |
final statik com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
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; |
uzun | getMaxFoldedConstantInBytes () Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. |
OptimizerOptions.Level | getOptLevel () Overall optimization level. |
int | getOptLevelValue () Overall optimization level. |
son boole değeri | Başlatıldı () |
OptimizerOptions.Builder | mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OptimizerOptions.Builder | mergeFrom (com.google.protobuf.Message other) |
son OptimizerOptions.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields) |
OptimizerOptions.Builder | setDoCommonSubexpressionElimination (boole değeri) If true, optimize the graph using common subexpression elimination. |
OptimizerOptions.Builder | setDoConstantFolding (boole değeri) If true, perform constant folding optimization on the graph. |
OptimizerOptions.Builder | setDoFunctionInlining (boole değeri) If true, perform function inlining on the graph. |
OptimizerOptions.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri) |
OptimizerOptions.Builder | setGlobalJitLevel ( OptimizerOptions.GlobalJitLevel değeri) .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
OptimizerOptions.Builder | setGlobalJitLevelValue (int değeri) .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
OptimizerOptions.Builder | setMaxFoldedConstantInBytes (uzun değer) Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. |
OptimizerOptions.Builder | |
OptimizerOptions.Builder | setOptLevelValue (int değeri) Overall optimization level. |
OptimizerOptions.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, int dizini, Nesne değeri) |
son OptimizerOptions.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet bilinmeyenFields) |
Kalıtsal Yöntemler
Genel Yöntemler
public OptimizerOptions.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri)
public OptimizerOptions.Builder clearDoCommonSubexpressionElimination ()
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
public OptimizerOptions.Builder clearDoConstantFolding ()
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
public OptimizerOptions.Builder clearDoFunctionInlining ()
If true, perform function inlining on the graph.
bool do_function_inlining = 4;
public OptimizerOptions.Builder clearGlobalJitLevel ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
public OptimizerOptions.Builder clearMaxFoldedConstantInBytes ()
Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. To avoid inserting too large constants, the size of each constant created can be limited. If this value is zero, a default limit of 10 MiB will be applied. If constant folding optimization is disabled, this value is ignored.
int64 max_folded_constant_in_bytes = 6;
public OptimizerOptions.Builder clearOptLevel ()
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;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
genel boolean getDoCommonSubexpressionElimination ()
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
genel boolean getDoConstantFolding ()
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
genel boolean getDoFunctionInlining ()
If true, perform function inlining on the graph.
bool do_function_inlining = 4;
public OptimizerOptions.GlobalJitLevel getGlobalJitLevel ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
public int getGlobalJitLevelValue ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
halka açık uzun getMaxFoldedConstantInBytes ()
Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. To avoid inserting too large constants, the size of each constant created can be limited. If this value is zero, a default limit of 10 MiB will be applied. If constant folding optimization is disabled, this value is ignored.
int64 max_folded_constant_in_bytes = 6;
public 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;
public 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;
genel final boolean isInitialized ()
public OptimizerOptions.Builder mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IO İstisnası |
---|
genel final OptimizerOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields)
public OptimizerOptions.Builder setDoCommonSubexpressionElimination (boole değeri)
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
public OptimizerOptions.Builder setDoConstantFolding (boole değeri)
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
public OptimizerOptions.Builder setDoFunctionInlining (boole değeri)
If true, perform function inlining on the graph.
bool do_function_inlining = 4;
public OptimizerOptions.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri)
public OptimizerOptions.Builder setGlobalJitLevel ( OptimizerOptions.GlobalJitLevel değeri)
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
public OptimizerOptions.Builder setGlobalJitLevelValue (int değer)
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
public OptimizerOptions.Builder setMaxFoldedConstantInBytes (uzun değer)
Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. To avoid inserting too large constants, the size of each constant created can be limited. If this value is zero, a default limit of 10 MiB will be applied. If constant folding optimization is disabled, this value is ignored.
int64 max_folded_constant_in_bytes = 6;
public OptimizerOptions.Builder setOptLevel ( OptimizerOptions.Level değeri)
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;
public OptimizerOptions.Builder setOptLevelValue (int değeri)
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;