OptimizerOptions.Builder

classe final estática pública OptimizerOptions.Builder

 Options passed to the graph optimizer
 
Tipo de protobuf tensorflow.OptimizerOptions

Métodos Públicos

OptimizerOptions.Builder
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
Opções do otimizador
Opções do otimizador
OptimizerOptions.Builder
claro ()
OptimizerOptions.Builder
clearDoCommonSubexpressionElimination ()
 If true, optimize the graph using common subexpression elimination.
OptimizerOptions.Builder
clearDoConstantFolding ()
 If true, perform constant folding optimization on the graph.
OptimizerOptions.Builder
clearDoFunctionInlining ()
 If true, perform function inlining on the graph.
OptimizerOptions.Builder
clearField (campo 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 umof)
OptimizerOptions.Builder
clearOptLevel ()
 Overall optimization level.
OptimizerOptions.Builder
clonar ()
Opções do otimizador
final estático com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
booleano
getDoCommonSubexpressionElimination ()
 If true, optimize the graph using common subexpression elimination.
booleano
getDoConstantFolding ()
 If true, perform constant folding optimization on the graph.
booleano
getDoFunctionInlining ()
 If true, perform function inlining on the graph.
OptimizerOptions.GlobalJitLevel
getGlobalJitLevel ()
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
interno
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.
interno
getOptLevelValue ()
 Overall optimization level.
booleano final
OptimizerOptions.Builder
mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OptimizerOptions.Builder
mergeFrom (com.google.protobuf.Message outro)
final OptimizerOptions.Builder
mesclarUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)
OptimizerOptions.Builder
setDoCommonSubexpressionElimination (valor booleano)
 If true, optimize the graph using common subexpression elimination.
OptimizerOptions.Builder
setDoConstantFolding (valor booleano)
 If true, perform constant folding optimization on the graph.
OptimizerOptions.Builder
setDoFunctionInlining (valor booleano)
 If true, perform function inlining on the graph.
OptimizerOptions.Builder
setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
OptimizerOptions.Builder
setGlobalJitLevel (valor OptimizerOptions.GlobalJitLevel )
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
OptimizerOptions.Builder
setGlobalJitLevelValue (valor interno)
.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
OptimizerOptions.Builder
setMaxFoldedConstantInBytes (valor longo)
 Constant folding optimization replaces tensors whose values can be
 predetermined, with constant nodes.
OptimizerOptions.Builder
setOptLevel (valor OptimizerOptions.Level )
 Overall optimization level.
OptimizerOptions.Builder
setOptLevelValue (valor interno)
 Overall optimization level.
OptimizerOptions.Builder
setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)
final OptimizerOptions.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)

Métodos herdados

Métodos Públicos

public OptimizerOptions.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)

compilação pública OptimizerOptions ()

público OptimizerOptions buildPartial ()

público OptimizerOptions.Builder claro ()

public OptimizerOptions.Builder clearDoCommonSubexpressionElimination ()

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

público OptimizerOptions.Builder clearDoConstantFolding ()

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

public OptimizerOptions.Builder clearDoFunctionInlining ()

 If true, perform function inlining on the graph.
 
bool do_function_inlining = 4;

público OptimizerOptions.Builder clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)

público OptimizerOptions.Builder clearGlobalJitLevel ()

.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;

público 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 clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

público 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;

Clone público de OptimizerOptions.Builder ()

public OptimizerOptions getDefaultInstanceForType ()

final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()

público com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

público booleano getDoCommonSubexpressionElimination ()

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

getDoConstantFolding booleano público ()

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

getDoFunctionInlining booleano público ()

 If true, perform function inlining on the graph.
 
bool do_function_inlining = 4;

public OptimizerOptions.GlobalJitLevel getGlobalJitLevel ()

.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;

público int getGlobalJitLevelValue ()

.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;

público longo 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;

público 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 final booleano isInitialized ()

public OptimizerOptions.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

público OptimizerOptions.Builder mergeFrom (com.google.protobuf.Message outro)

final público OptimizerOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)

public OptimizerOptions.Builder setDoCommonSubexpressionElimination (valor booleano)

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

public OptimizerOptions.Builder setDoConstantFolding (valor booleano)

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

public OptimizerOptions.Builder setDoFunctionInlining (valor booleano)

 If true, perform function inlining on the graph.
 
bool do_function_inlining = 4;

public OptimizerOptions.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)

public OptimizerOptions.Builder setGlobalJitLevel (valor OptimizerOptions.GlobalJitLevel )

.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;

público OptimizerOptions.Builder setGlobalJitLevelValue (valor int)

.tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;

público OptimizerOptions.Builder setMaxFoldedConstantInBytes (valor longo)

 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;

público OptimizerOptions.Builder setOptLevel (valor 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;

público OptimizerOptions.Builder setOptLevelValue (valor 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 (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)

final público OptimizerOptions.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)