Interface Model.ModelProto.OptimizationParamsOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
Model.ModelProto.OptimizationParams, Model.ModelProto.OptimizationParams.Builder
Enclosing class:
Model.ModelProto

public static interface Model.ModelProto.OptimizationParamsOrBuilder extends MessageOrBuilder
  • Method Details

    • getAlgorithmValue

      int getAlgorithmValue()
      Algorithm used for autotuning optimization.
      
      .tensorflow.data.model.AutotuneAlgorithm algorithm = 1;
      Returns:
      The enum numeric value on the wire for algorithm.
    • getAlgorithm

      Model.AutotuneAlgorithm getAlgorithm()
      Algorithm used for autotuning optimization.
      
      .tensorflow.data.model.AutotuneAlgorithm algorithm = 1;
      Returns:
      The algorithm.
    • getCpuBudget

      long getCpuBudget()
      Number of available logical threads.
      
      int64 cpu_budget = 2;
      Returns:
      The cpuBudget.
    • getRamBudget

      long getRamBudget()
      Amount of available memory in bytes.
      
      int64 ram_budget = 3;
      Returns:
      The ramBudget.
    • getModelInputTime

      double getModelInputTime()
      Time between two consecutive `GetNext` calls to the iterator represented
      by the output node.
      
      double model_input_time = 4;
      Returns:
      The modelInputTime.