lớp cuối cùng tĩnh công khai OptimizerOptions.Builder
Options passed to the graph optimizer
tensorflow.OptimizerOptions
Phương pháp công cộng
OptimizerOptions.Builder | addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
Tùy chọn tối ưu hóa | xây dựng () |
Tùy chọn tối ưu hóa | |
OptimizerOptions.Builder | thông thoáng () |
OptimizerOptions.Builder | clearDoCommonSubexpressElimination () If true, optimize the graph using common subexpression elimination. |
OptimizerOptions.Builder | clearDoConstantFolding () If true, perform constant folding optimization on the graph. |
OptimizerOptions.Builder | clearDoFunctionNội tuyến () If true, perform function inlining on the graph. |
OptimizerOptions.Builder | ClearField (trường com.google.protobuf.Descriptors.FieldDescriptor) |
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 | dòng vô tính () |
Tùy chọn tối ưu hóa | |
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng | |
com.google.protobuf.Descriptors.Descriptor | |
boolean | getDoCommonSubexpressElimination () If true, optimize the graph using common subexpression elimination. |
boolean | getDoConstantFolding () If true, perform constant folding optimization on the graph. |
boolean | getDoFunctionNội tuyến () 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; |
dài | 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. |
boolean cuối cùng | |
OptimizerOptions.Builder | mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
OptimizerOptions.Builder | mergeFrom (com.google.protobuf.Message other) |
OptimizerOptions.Builder cuối cùng | hợp nhấtUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
OptimizerOptions.Builder | setDoCommonSubexpressElimination (giá trị boolean) If true, optimize the graph using common subexpression elimination. |
OptimizerOptions.Builder | setDoConstantFolding (giá trị boolean) If true, perform constant folding optimization on the graph. |
OptimizerOptions.Builder | setDoFunctionInline (giá trị boolean) If true, perform function inlining on the graph. |
OptimizerOptions.Builder | setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
OptimizerOptions.Builder | setGlobalJitLevel (giá trị OptimizerOptions.GlobalJitLevel ) .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
OptimizerOptions.Builder | setGlobalJitLevelValue (giá trị int) .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
OptimizerOptions.Builder | setMaxFoldedConstantInBytes (giá trị dài) Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. |
OptimizerOptions.Builder | |
OptimizerOptions.Builder | setOptLevelValue (giá trị int) Overall optimization level. |
OptimizerOptions.Builder | setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng) |
OptimizerOptions.Builder cuối cùng | setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
Phương pháp kế thừa
Phương pháp công cộng
public OptimizerOptions.Builder addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
public OptimizerOptions.Builder clearDoCommonSubexpressElimination ()
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 clearDoFunctionInliner ()
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;
công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor công khai getDescriptorForType ()
boolean công khai getDoCommonSubexpressElimination ()
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
boolean công khai getDoConstantFolding ()
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
boolean công khai getDoFunctionInline ()
If true, perform function inlining on the graph.
bool do_function_inlining = 4;
trình tối ưu hóa công khaiOptions.GlobalJitLevel getGlobalJitLevel ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
int công khai getGlobalJitLevelValue ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
công khai 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;
công khai 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 công khai 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;
boolean cuối cùng công khai được khởi tạo ()
public OptimizerOptions.Builder mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
cuối cùng công khai OptimizerOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
public OptimizerOptions.Builder setDoCommonSubexpressElimination (giá trị boolean)
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
public OptimizerOptions.Builder setDoConstantFolding (giá trị boolean)
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
public OptimizerOptions.Builder setDoFunctionInline (giá trị boolean)
If true, perform function inlining on the graph.
bool do_function_inlining = 4;
public OptimizerOptions.Builder setField (trường com.google.protobuf.Descriptors.FieldDescriptor, giá trị đối tượng)
công khai OptimizerOptions.Builder setGlobalJitLevel (giá trị OptimizerOptions.GlobalJitLevel )
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
public OptimizerOptions.Builder setGlobalJitLevelValue (giá trị int)
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
public OptimizerOptions.Builder setMaxFoldedConstantInBytes (giá trị dài)
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;
công khai OptimizerOptions.Builder setOptLevel (giá trị 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 (giá trị int)
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;