Opsi Pengoptimal kelas akhir publik
Options passed to the graph optimizerTipe protobuf
tensorflow.OptimizerOptions
Kelas Bersarang
kelas | Opsi Pengoptimal.Pembangun | Options passed to the graph optimizerTipe protobuf tensorflow.OptimizerOptions | |
enum | Opsi Pengoptimal.GlobalJitLevel | Control the use of the compiler/jit. | |
enum | Opsi Pengoptimal.Level | Optimization levelProtobuf enum tensorflow.OptimizerOptions.Level |
Konstanta
ke dalam | DO_COMMON_SUBEXPRESSION_ELIMINATION_FIELD_NUMBER | |
ke dalam | DO_CONSTANT_FOLDING_FIELD_NUMBER | |
ke dalam | DO_FUNCTION_INLINING_FIELD_NUMBER | |
ke dalam | GLOBAL_JIT_LEVEL_FIELD_NUMBER | |
ke dalam | MAX_FOLDED_CONSTANT_IN_BYTES_FIELD_NUMBER | |
ke dalam | OPT_LEVEL_FIELD_NUMBER |
Metode Publik
boolean | sama dengan (Objek objek) |
Opsi Pengoptimal statis | |
Opsi Pengoptimal | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
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. |
ke dalam | |
final com.google.protobuf.UnknownFieldSet | |
ke dalam | Kode hash () |
boolean terakhir | |
OptimizerOptions.Builder statis | newBuilder (prototipe OptimizerOptions ) |
OptimizerOptions.Builder statis | |
Opsi Pengoptimal.Pembangun | |
Opsi Pengoptimal statis | parseDelimitedFrom (masukan Aliran Masukan) |
Opsi Pengoptimal statis | parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Opsi Pengoptimal statis | parseFrom (data ByteBuffer) |
Opsi Pengoptimal statis | parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Opsi Pengoptimal statis | parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Opsi Pengoptimal statis | parseFrom (com.google.protobuf.CodedInputStream masukan) |
Opsi Pengoptimal statis | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Opsi Pengoptimal statis | parseFrom (com.google.protobuf.ByteString data) |
Opsi Pengoptimal statis | parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Opsi Pengoptimal statis | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statis | pengurai () |
Opsi Pengoptimal.Pembangun | |
ruang kosong | writeTo (com.google.protobuf.CodedOutputStream keluaran) |
Metode Warisan
Konstanta
int final statis publik DO_COMMON_SUBEXPRESSION_ELIMINATION_FIELD_NUMBER
Nilai Konstan: 1
int akhir statis publik DO_CONSTANT_FOLDING_FIELD_NUMBER
Nilai Konstan: 2
int akhir statis publik DO_FUNCTION_INLINING_FIELD_NUMBER
Nilai Konstan: 4
int final statis publik GLOBAL_JIT_LEVEL_FIELD_NUMBER
Nilai Konstan: 5
int final statis publik MAX_FOLDED_CONSTANT_IN_BYTES_FIELD_NUMBER
Nilai Konstan: 6
int akhir statis publik OPT_LEVEL_FIELD_NUMBER
Nilai Konstan: 3
Metode Publik
boolean publik sama (Obj objek)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
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;
publik dapatkanParserForType ()
publik int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
kode hash int publik ()
boolean akhir publik diinisialisasi ()
OptimizerOptions statis publik parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
ParseFrom OptimizerOptions statis publik (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom OptimizerOptions statis publik (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
parseFrom OptimizerOptions statis publik (com.google.protobuf.CodedInputStream input)
Melempar
Pengecualian IO |
---|
ParseFrom OptimizerOptions statis publik (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
parseFrom OptimizerOptions statis publik (com.google.protobuf.ByteString data)
Melempar
InvalidProtocolBufferException |
---|
ParseFrom OptimizerOptions statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
ParseFrom OptimizerOptions statis publik (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
statis publik pengurai ()
public void writeTo (keluaran com.google.protobuf.CodedOutputStream)
Melempar
Pengecualian IO |
---|