OptimizerOptions

classe finale publique OptimizerOptions

 Options passed to the graph optimizer
 
tensorflow.OptimizerOptions de type Protobuf.OptimizerOptions

Classes imbriquées

classe OptimizerOptions.Builder
 Options passed to the graph optimizer
 
tensorflow.OptimizerOptions de type Protobuf.OptimizerOptions
énumération OptimizerOptions.GlobalJitLevel
 Control the use of the compiler/jit. 
énumération OptimizerOptions.Level
 Optimization level
 
Protobuf enum tensorflow.OptimizerOptions.Level

Constantes

int DO_COMMON_SUBEXPRESSION_ELIMINATION_FIELD_NUMBER
int DO_CONSTANT_FOLDING_FIELD_NUMBER
int DO_FUNCTION_INLINING_FIELD_NUMBER
int GLOBAL_JIT_LEVEL_FIELD_NUMBER
int MAX_FOLDED_CONSTANT_IN_BYTES_FIELD_NUMBER
int OPT_LEVEL_FIELD_NUMBER

Méthodes publiques

booléen
est égal (Obj objet)
Options d'optimisation statiques
Options de l'optimiseur
final statique com.google.protobuf.Descriptors.Descriptor
booléen
getDoCommonSubexpressionElimination ()
 If true, optimize the graph using common subexpression elimination.
booléen
getDoConstantFolding ()
 If true, perform constant folding optimization on the graph.
booléen
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;
long
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
booléen final
statique OptimizerOptions.Builder
statique OptimizerOptions.Builder
OptimizerOptions.Builder
Options d'optimisation statiques
parseDelimitedFrom (entrée InputStream)
Options d'optimisation statiques
parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Options d'optimisation statiques
parseFrom (données ByteBuffer)
Options d'optimisation statiques
parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Options d'optimisation statiques
parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Options d'optimisation statiques
parseFrom (entrée com.google.protobuf.CodedInputStream)
Options d'optimisation statiques
parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Options d'optimisation statiques
parseFrom (données com.google.protobuf.ByteString)
Options d'optimisation statiques
parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Options d'optimisation statiques
parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
statique
OptimizerOptions.Builder
vide
writeTo (sortie com.google.protobuf.CodedOutputStream)

Méthodes héritées

Constantes

public statique final int DO_COMMON_SUBEXPRESSION_ELIMINATION_FIELD_NUMBER

Valeur constante : 1

public statique final int DO_CONSTANT_FOLDING_FIELD_NUMBER

Valeur constante : 2

public statique final int DO_FUNCTION_INLINING_FIELD_NUMBER

Valeur constante : 4

public statique final int GLOBAL_JIT_LEVEL_FIELD_NUMBER

Valeur constante : 5

public statique final int MAX_FOLDED_CONSTANT_IN_BYTES_FIELD_NUMBER

Valeur constante : 6

public statique final int OPT_LEVEL_FIELD_NUMBER

Valeur constante : 3

Méthodes publiques

public booléen égal (Objet obj)

OptimizerOptions statiques publiques getDefaultInstance ()

public OptimizerOptions getDefaultInstanceForType ()

public statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public booléen getDoCommonSubexpressionElimination ()

 If true, optimize the graph using common subexpression elimination.
 
bool do_common_subexpression_elimination = 1;

public booléen getDoConstantFolding ()

 If true, perform constant folding optimization on the graph.
 
bool do_constant_folding = 2;

public booléen 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;

publique getParserForType ()

public int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

code de hachage int public ()

public final booléen isInitialized ()

public statique OptimizerOptions.Builder newBuilder (prototype OptimizerOptions )

public statique OptimizerOptions.Builder newBuilder ()

public OptimizerOptions.Builder newBuilderForType ()

public static OptimizerOptions parseDelimitedFrom (entrée InputStream)

Jetés
IOException

public static OptimizerOptions parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public static OptimizerOptions parseFrom (données ByteBuffer)

Jetés
InvalidProtocolBufferException

public static OptimizerOptions parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public static OptimizerOptions parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public static OptimizerOptions parseFrom (entrée com.google.protobuf.CodedInputStream)

Jetés
IOException

public static OptimizerOptions parseFrom (données byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public static OptimizerOptions parseFrom (données com.google.protobuf.ByteString)

Jetés
InvalidProtocolBufferException

public static OptimizerOptions parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public static OptimizerOptions parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique analyseur ()

public OptimizerOptions.Builder toBuilder ()

public void writeTo (sortie com.google.protobuf.CodedOutputStream)

Jetés
IOException