org.tensorflow.framework.OptimizerOptionsOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/protobuf/config.proto
package org.tensorflow.framework;
public interface OptimizerOptionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:tensorflow.OptimizerOptions)
org.nd4j.shade.protobuf.MessageOrBuilder {
/**
*
* If true, optimize the graph using common subexpression elimination.
*
*
* bool do_common_subexpression_elimination = 1;
* @return The doCommonSubexpressionElimination.
*/
boolean getDoCommonSubexpressionElimination();
/**
*
* If true, perform constant folding optimization on the graph.
*
*
* bool do_constant_folding = 2;
* @return The doConstantFolding.
*/
boolean getDoConstantFolding();
/**
*
* 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;
* @return The maxFoldedConstantInBytes.
*/
long getMaxFoldedConstantInBytes();
/**
*
* If true, perform function inlining on the graph.
*
*
* bool do_function_inlining = 4;
* @return The doFunctionInlining.
*/
boolean getDoFunctionInlining();
/**
*
* 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;
* @return The enum numeric value on the wire for optLevel.
*/
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;
* @return The optLevel.
*/
org.tensorflow.framework.OptimizerOptions.Level getOptLevel();
/**
* .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
* @return The enum numeric value on the wire for globalJitLevel.
*/
int getGlobalJitLevelValue();
/**
* .tensorflow.OptimizerOptions.GlobalJitLevel global_jit_level = 5;
* @return The globalJitLevel.
*/
org.tensorflow.framework.OptimizerOptions.GlobalJitLevel getGlobalJitLevel();
}