public final class OptimizerOptions
Options passed to the graph optimizer
tensorflow.OptimizerOptions
tipo tensorflow.OptimizerOptions
Classes aninhadas
aula | OptimizerOptions.Builder | Options passed to the graph optimizer tensorflow.OptimizerOptions tipo tensorflow.OptimizerOptions | |
enum | OptimizerOptions.GlobalJitLevel | Control the use of the compiler/jit. | |
enum | OptimizerOptions.Level | Optimization level tensorflow.OptimizerOptions.Level enum tensorflow.OptimizerOptions.Level |
Constantes
Métodos Públicos
boleano | igual a (objeto obj) |
static OptimizerOptions | |
OptimizerOptions | |
final static com.google.protobuf.Descriptors.Descriptor | |
boleano | getDoCommonSubexpressionElimination () If true, optimize the graph using common subexpression elimination. |
boleano | getDoConstantFolding () If true, perform constant folding optimization on the graph. |
boleano | 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; |
longo | 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. |
int | |
final com.google.protobuf.UnknownFieldSet | |
int | hashCode () |
final booleano | |
static OptimizerOptions.Builder | newBuilder (protótipo OptimizerOptions ) |
static OptimizerOptions.Builder | newBuilder () |
OptimizerOptions.Builder | |
static OptimizerOptions | parseDelimitedFrom (input InputStream) |
static OptimizerOptions | parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OptimizerOptions | parseFrom (dados ByteBuffer) |
static OptimizerOptions | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OptimizerOptions | parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OptimizerOptions | parseFrom (com.google.protobuf.CodedInputStream input) |
static OptimizerOptions | parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OptimizerOptions | parseFrom (com.google.protobuf.ByteString data) |
static OptimizerOptions | parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OptimizerOptions | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
OptimizerOptions.Builder | toBuilder () |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
public static final int DO_COMMON_SUBEXPRESSION_ELIMINATION_FIELD_NUMBER
Valor Constante: 1
public static final int DO_CONSTANT_FOLDING_FIELD_NUMBER
Valor constante: 2
public static final int DO_FUNCTION_INLINING_FIELD_NUMBER
Valor constante: 4
public static final int GLOBAL_JIT_LEVEL_FIELD_NUMBER
Valor constante: 5
public static final int MAX_FOLDED_CONSTANT_IN_BYTES_FIELD_NUMBER
Valor constante: 6
public static final int OPT_LEVEL_FIELD_NUMBER
Valor Constante: 3
Métodos Públicos
public boolean equals (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public boolean getDoCommonSubexpressionElimination ()
If true, optimize the graph using common subexpression elimination.
bool do_common_subexpression_elimination = 1;
public boolean getDoConstantFolding ()
If true, perform constant folding optimization on the graph.
bool do_constant_folding = 2;
public 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;
public long 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;
público getParserForType ()
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
public final boolean isInitialized ()
public static OptimizerOptions parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static OptimizerOptions parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static OptimizerOptions parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static OptimizerOptions parseFrom (com.google.protobuf.CodedInputStream input)
Lança
IOException |
---|
public static OptimizerOptions parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static OptimizerOptions parseFrom (com.google.protobuf.ByteString data)
Lança
InvalidProtocolBufferException |
---|
public static OptimizerOptions parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static OptimizerOptions parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
IOException |
---|