Options passed to the graph optimizerТип protobuf
tensorflow.OptimizerOptions
Публичные методы
OptimizerOptions.Builder | addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
Параметры оптимизатора | строить () |
Параметры оптимизатора | |
OptimizerOptions.Builder | прозрачный () |
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) |
OptimizerOptions.Builder | очиститьГлобалДжитЛевел () .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 | ОчиститьОптЛевел () Overall optimization level. |
OptimizerOptions.Builder | клон () |
Параметры оптимизатора | |
окончательный статический com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
логическое значение | getDoCommonSubexpressionElimination () If true, optimize the graph using common subexpression elimination. |
логическое значение | getDoConstantFolding () If true, perform constant folding optimization on the graph. |
логическое значение | getDoFunctionInlining () If true, perform function inlining on the graph. |
OptimizerOptions.GlobalJitLevel | getGlobalJitLevel () .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
интервал | getGlobalJitLevelValue () .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
длинный | getMaxFoldedConstantInBytes () Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. |
OptimizerOptions.Level | получитьОптЛевел () Overall optimization level. |
интервал | getOptLevelValue () Overall optimization level. |
последнее логическое значение | |
OptimizerOptions.Builder | mergeFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
OptimizerOptions.Builder | mergeFrom (com.google.protobuf.Message другое) |
окончательный OptimizerOptions.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
OptimizerOptions.Builder | setDoCommonSubexpressionElimination (логическое значение) If true, optimize the graph using common subexpression elimination. |
OptimizerOptions.Builder | setDoConstantFolding (логическое значение) If true, perform constant folding optimization on the graph. |
OptimizerOptions.Builder | setDoFunctionInlining (логическое значение) If true, perform function inlining on the graph. |
OptimizerOptions.Builder | setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
OptimizerOptions.Builder | setGlobalJitLevel (значение OptimizerOptions.GlobalJitLevel ) .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
OptimizerOptions.Builder | setGlobalJitLevelValue (целое значение) .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
OptimizerOptions.Builder | setMaxFoldedConstantInBytes (длинное значение) Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. |
OptimizerOptions.Builder | |
OptimizerOptions.Builder | setOptLevelValue (целое значение) Overall optimization level. |
OptimizerOptions.Builder | setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта) |
окончательный OptimizerOptions.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
Унаследованные методы
Публичные методы
public OptimizerOptions.Builder addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
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;
общедоступный 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;
общедоступный статический окончательный com.google.protobuf.Descriptors.Descriptor getDescriptor ()
общедоступный com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
общедоступное логическое значение getDoCommonSubeexpressionElimination ()
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
общедоступное логическое значение getDoConstantFolding ()
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
общедоступное логическое значение 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;
общедоступный длинный 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;
общедоступный 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;
публичное окончательное логическое значение isInitialized ()
public OptimizerOptions.Builder mergeFrom (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Исключение IO |
---|
общедоступный финальный OptimizerOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public OptimizerOptions.Builder setDoCommonSubexpressionElimination (логическое значение)
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
public OptimizerOptions.Builder setDoConstantFolding (логическое значение)
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
public OptimizerOptions.Builder setDoFunctionInlining (логическое значение)
If true, perform function inlining on the graph.
bool do_function_inlining = 4;
public OptimizerOptions.Builder setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
public OptimizerOptions.Builder setGlobalJitLevel (значение OptimizerOptions.GlobalJitLevel )
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
public OptimizerOptions.Builder setGlobalJitLevelValue (целое значение)
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
public OptimizerOptions.Builder setMaxFoldedConstantInBytes (длинное значение)
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 )
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 (целое значение)
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, индекс int, значение объекта)
общедоступный окончательный OptimizerOptions.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
Options passed to the graph optimizerТип protobuf
tensorflow.OptimizerOptions
Публичные методы
OptimizerOptions.Builder | addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
Параметры оптимизатора | строить () |
Параметры оптимизатора | |
OptimizerOptions.Builder | прозрачный () |
OptimizerOptions.Builder | ClearDoCommonSubexpressionElimination () If true, optimize the graph using common subexpression elimination. |
OptimizerOptions.Builder | ОчиститьДоКонстантФолдинг () 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) |
OptimizerOptions.Builder | очиститьГлобалДжитЛевел () .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 | ОчиститьОптЛевел () Overall optimization level. |
OptimizerOptions.Builder | клон () |
Параметры оптимизатора | |
окончательный статический com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
логическое значение | getDoCommonSubexpressionElimination () If true, optimize the graph using common subexpression elimination. |
логическое значение | getDoConstantFolding () If true, perform constant folding optimization on the graph. |
логическое значение | getDoFunctionInlining () If true, perform function inlining on the graph. |
OptimizerOptions.GlobalJitLevel | getGlobalJitLevel () .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
интервал | getGlobalJitLevelValue () .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
длинный | getMaxFoldedConstantInBytes () Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. |
OptimizerOptions.Level | получитьОптЛевел () Overall optimization level. |
интервал | getOptLevelValue () Overall optimization level. |
последнее логическое значение | |
OptimizerOptions.Builder | mergeFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
OptimizerOptions.Builder | mergeFrom (com.google.protobuf.Message другое) |
окончательный OptimizerOptions.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
OptimizerOptions.Builder | setDoCommonSubeexpressionElimination (логическое значение) If true, optimize the graph using common subexpression elimination. |
OptimizerOptions.Builder | setDoConstantFolding (логическое значение) If true, perform constant folding optimization on the graph. |
OptimizerOptions.Builder | setDoFunctionInlining (логическое значение) If true, perform function inlining on the graph. |
OptimizerOptions.Builder | setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
OptimizerOptions.Builder | setGlobalJitLevel (значение OptimizerOptions.GlobalJitLevel ) .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
OptimizerOptions.Builder | setGlobalJitLevelValue (целое значение) .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
OptimizerOptions.Builder | setMaxFoldedConstantInBytes (длинное значение) Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. |
OptimizerOptions.Builder | |
OptimizerOptions.Builder | setOptLevelValue (целое значение) Overall optimization level. |
OptimizerOptions.Builder | setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта) |
окончательный OptimizerOptions.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
Унаследованные методы
Публичные методы
public OptimizerOptions.Builder addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
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;
общедоступный OptimizerOptions.Builder ClearField (поле com.google.protobuf.Descriptors.FieldDescriptor)
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;
общедоступный 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;
общедоступный статический окончательный com.google.protobuf.Descriptors.Descriptor getDescriptor ()
общедоступный com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
общедоступное логическое значение getDoCommonSubexpressionElimination ()
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
общедоступное логическое значение getDoConstantFolding ()
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
общедоступное логическое значение 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;
общедоступный длинный 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;
общедоступный 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;
публичное окончательное логическое значение isInitialized ()
public OptimizerOptions.Builder mergeFrom (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Исключение IO |
---|
общедоступный финальный OptimizerOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public OptimizerOptions.Builder setDoCommonSubexpressionElimination (логическое значение)
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
public OptimizerOptions.Builder setDoConstantFolding (логическое значение)
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
public OptimizerOptions.Builder setDoFunctionInlining (логическое значение)
If true, perform function inlining on the graph.
bool do_function_inlining = 4;
public OptimizerOptions.Builder setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
public OptimizerOptions.Builder setGlobalJitLevel (значение OptimizerOptions.GlobalJitLevel )
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
public OptimizerOptions.Builder setGlobalJitLevelValue (целое значение)
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
public OptimizerOptions.Builder setMaxFoldedConstantInBytes (длинное значение)
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 )
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 (целое значение)
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;