Options passed to the graph optimizerTipe protobuf
tensorflow.OptimizerOptions
Metode Publik
Opsi Pengoptimal.Pembangun | addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
Opsi Pengoptimal | membangun () |
Opsi Pengoptimal | |
Opsi Pengoptimal.Pembangun | jernih () |
Opsi Pengoptimal.Pembangun | clearDoCommonSubexpressionElimination () If true, optimize the graph using common subexpression elimination. |
Opsi Pengoptimal.Pembangun | clearDoConstantFolding () If true, perform constant folding optimization on the graph. |
Opsi Pengoptimal.Pembangun | clearDoFunctionInlining () If true, perform function inlining on the graph. |
Opsi Pengoptimal.Pembangun | clearField (bidang com.google.protobuf.Descriptors.FieldDescriptor) |
Opsi Pengoptimal.Pembangun | jelasGlobalJitLevel () .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
Opsi Pengoptimal.Pembangun | clearMaxFoldedConstantInBytes () Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. |
Opsi Pengoptimal.Pembangun | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Opsi Pengoptimal.Pembangun | jelasOptTingkat () Overall optimization level. |
Opsi Pengoptimal.Pembangun | klon () |
Opsi Pengoptimal | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
com.google.protobuf.Descriptors.Descriptor | |
boolean | getDoCommonSubexpressionElimination () If true, optimize the graph using common subexpression elimination. |
boolean | dapatkanDoConstantFolding () If true, perform constant folding optimization on the graph. |
boolean | getDoFunctionInlining () If true, perform function inlining on the graph. |
Opsi Pengoptimal.GlobalJitLevel | dapatkanGlobalJitLevel () .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
ke dalam | dapatkanGlobalJitLevelValue () .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
panjang | getMaxFoldedConstantInBytes () Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. |
Opsi Pengoptimal.Level | dapatkan Tingkat Opsi () Overall optimization level. |
ke dalam | dapatkanOptLevelValue () Overall optimization level. |
boolean terakhir | |
Opsi Pengoptimal.Pembangun | mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Opsi Pengoptimal.Pembangun | mergeFrom (com.google.protobuf.Pesan lainnya) |
Opsi Pengoptimal terakhir.Pembangun | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Opsi Pengoptimal.Pembangun | setDoCommonSubexpressionElimination (nilai boolean) If true, optimize the graph using common subexpression elimination. |
Opsi Pengoptimal.Pembangun | setDoConstantFolding (nilai boolean) If true, perform constant folding optimization on the graph. |
Opsi Pengoptimal.Pembangun | setDoFunctionInlining (nilai boolean) If true, perform function inlining on the graph. |
Opsi Pengoptimal.Pembangun | setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
Opsi Pengoptimal.Pembangun | setGlobalJitLevel (nilai OptimizerOptions.GlobalJitLevel ) .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
Opsi Pengoptimal.Pembangun | setGlobalJitLevelValue (nilai int) .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
Opsi Pengoptimal.Pembangun | setMaxFoldedConstantInBytes (nilai panjang) Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. |
Opsi Pengoptimal.Pembangun | |
Opsi Pengoptimal.Pembangun | setOptLevelValue (nilai int) Overall optimization level. |
Opsi Pengoptimal.Pembangun | setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek) |
Opsi Pengoptimal terakhir.Pembangun | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Metode Warisan
Metode Publik
public OptimizerOptions.Builder addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
OptimizerOptions publik.Builder clearDoCommonSubexpressionElimination ()
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
OptimizerOptions.Builder publik clearDoConstantFolding ()
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
OptimizerOptions publik.Builder clearDoFunctionInlining ()
If true, perform function inlining on the graph.
bool do_function_inlining = 4;
OptimizerOptions publik.Builder clearGlobalJitLevel ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
OptimizerOptions.Builder publik 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 publik.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 ()
com.google.protobuf.Descriptors.Descriptor publik getDescriptorForType ()
boolean publik getDoCommonSubexpressionElimination ()
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
boolean publik getDoConstantFolding ()
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
boolean publik getDoFunctionInlining ()
If true, perform function inlining on the graph.
bool do_function_inlining = 4;
Opsi Pengoptimal publik.GlobalJitLevel getGlobalJitLevel ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
publik int getGlobalJitLevelValue ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
getMaxFoldedConstantInBytes panjang publik ()
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 publik.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 publik 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 akhir publik diinisialisasi ()
OptimizerOptions.Builder mergeFrom publik (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
OptimizerOptions.Builder final publik menggabungkanUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public OptimizerOptions.Builder setDoCommonSubexpressionElimination (nilai boolean)
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
OptimizerOptions.Builder publik setDoConstantFolding (nilai boolean)
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
OptimizerOptions.Builder publik setDoFunctionInlining (nilai boolean)
If true, perform function inlining on the graph.
bool do_function_inlining = 4;
public OptimizerOptions.Builder setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
OptimizerOptions.Builder setGlobalJitLevel publik (nilai OptimizerOptions.GlobalJitLevel )
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
OptimizerOptions.Builder publik setGlobalJitLevelValue (nilai int)
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
public OptimizerOptions.Builder setMaxFoldedConstantInBytes (nilai panjang)
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 setOptLevel publik (nilai 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;
OptimizerOptions.Builder publik setOptLevelValue (nilai 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;
public OptimizerOptions.Builder setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek)
OptimizerOptions.Builder akhir publik setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
Options passed to the graph optimizerTipe protobuf
tensorflow.OptimizerOptions
Metode Publik
Opsi Pengoptimal.Pembangun | addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
Opsi Pengoptimal | membangun () |
Opsi Pengoptimal | |
Opsi Pengoptimal.Pembangun | jernih () |
Opsi Pengoptimal.Pembangun | clearDoCommonSubexpressionElimination () If true, optimize the graph using common subexpression elimination. |
Opsi Pengoptimal.Pembangun | clearDoConstantFolding () If true, perform constant folding optimization on the graph. |
Opsi Pengoptimal.Pembangun | clearDoFunctionInlining () If true, perform function inlining on the graph. |
Opsi Pengoptimal.Pembangun | clearField (bidang com.google.protobuf.Descriptors.FieldDescriptor) |
Opsi Pengoptimal.Pembangun | jelasGlobalJitLevel () .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
Opsi Pengoptimal.Pembangun | clearMaxFoldedConstantInBytes () Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. |
Opsi Pengoptimal.Pembangun | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Opsi Pengoptimal.Pembangun | jelasOptTingkat () Overall optimization level. |
Opsi Pengoptimal.Pembangun | klon () |
Opsi Pengoptimal | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
com.google.protobuf.Descriptors.Descriptor | |
boolean | getDoCommonSubexpressionElimination () If true, optimize the graph using common subexpression elimination. |
boolean | dapatkanDoConstantFolding () If true, perform constant folding optimization on the graph. |
boolean | getDoFunctionInlining () If true, perform function inlining on the graph. |
Opsi Pengoptimal.GlobalJitLevel | dapatkanGlobalJitLevel () .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
ke dalam | dapatkanGlobalJitLevelValue () .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
panjang | getMaxFoldedConstantInBytes () Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. |
Opsi Pengoptimal.Level | dapatkan Tingkat Opsi () Overall optimization level. |
ke dalam | dapatkanOptLevelValue () Overall optimization level. |
boolean terakhir | |
Opsi Pengoptimal.Pembangun | mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Opsi Pengoptimal.Pembangun | mergeFrom (com.google.protobuf.Pesan lainnya) |
Opsi Pengoptimal terakhir.Pembangun | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Opsi Pengoptimal.Pembangun | setDoCommonSubexpressionElimination (nilai boolean) If true, optimize the graph using common subexpression elimination. |
Opsi Pengoptimal.Pembangun | setDoConstantFolding (nilai boolean) If true, perform constant folding optimization on the graph. |
Opsi Pengoptimal.Pembangun | setDoFunctionInlining (nilai boolean) If true, perform function inlining on the graph. |
Opsi Pengoptimal.Pembangun | setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
Opsi Pengoptimal.Pembangun | setGlobalJitLevel (nilai OptimizerOptions.GlobalJitLevel ) .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
Opsi Pengoptimal.Pembangun | setGlobalJitLevelValue (nilai int) .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5; |
Opsi Pengoptimal.Pembangun | setMaxFoldedConstantInBytes (nilai panjang) Constant folding optimization replaces tensors whose values can be predetermined, with constant nodes. |
Opsi Pengoptimal.Pembangun | |
Opsi Pengoptimal.Pembangun | setOptLevelValue (nilai int) Overall optimization level. |
Opsi Pengoptimal.Pembangun | setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek) |
Opsi Pengoptimal terakhir.Pembangun | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Metode Warisan
Metode Publik
public OptimizerOptions.Builder addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
OptimizerOptions publik.Builder clearDoCommonSubexpressionElimination ()
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
OptimizerOptions.Builder publik clearDoConstantFolding ()
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
OptimizerOptions publik.Builder clearDoFunctionInlining ()
If true, perform function inlining on the graph.
bool do_function_inlining = 4;
OptimizerOptions publik.Builder clearGlobalJitLevel ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
OptimizerOptions.Builder publik 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 publik.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 ()
com.google.protobuf.Descriptors.Descriptor publik getDescriptorForType ()
boolean publik getDoCommonSubexpressionElimination ()
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
boolean publik getDoConstantFolding ()
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
boolean publik getDoFunctionInlining ()
If true, perform function inlining on the graph.
bool do_function_inlining = 4;
Opsi Pengoptimal publik.GlobalJitLevel getGlobalJitLevel ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
publik int getGlobalJitLevelValue ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
getMaxFoldedConstantInBytes panjang publik ()
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 publik.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 publik 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 akhir publik diinisialisasi ()
OptimizerOptions.Builder mergeFrom publik (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
OptimizerOptions.Builder final publik menggabungkanUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public OptimizerOptions.Builder setDoCommonSubexpressionElimination (nilai boolean)
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
OptimizerOptions.Builder publik setDoConstantFolding (nilai boolean)
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
OptimizerOptions.Builder publik setDoFunctionInlining (nilai boolean)
If true, perform function inlining on the graph.
bool do_function_inlining = 4;
public OptimizerOptions.Builder setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
OptimizerOptions.Builder setGlobalJitLevel publik (nilai OptimizerOptions.GlobalJitLevel )
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
OptimizerOptions.Builder publik setGlobalJitLevelValue (nilai int)
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
public OptimizerOptions.Builder setMaxFoldedConstantInBytes (nilai panjang)
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 setOptLevel publik (nilai 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;
OptimizerOptions.Builder publik setOptLevelValue (nilai 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;