Package inference

Interface ModelConfigOuterClass.ModelOptimizationPolicy.ExecutionAccelerators.AcceleratorOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ModelConfigOuterClass.ModelOptimizationPolicy.ExecutionAccelerators.Accelerator, ModelConfigOuterClass.ModelOptimizationPolicy.ExecutionAccelerators.Accelerator.Builder
Enclosing class:
ModelConfigOuterClass.ModelOptimizationPolicy.ExecutionAccelerators

public static interface ModelConfigOuterClass.ModelOptimizationPolicy.ExecutionAccelerators.AcceleratorOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
      @@    .. cpp:var:: string name
      @@
      @@       The name of the execution accelerator.
      @@
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
      @@    .. cpp:var:: string name
      @@
      @@       The name of the execution accelerator.
      @@
       
      string name = 1;
      Returns:
      The bytes for name.
    • getParametersCount

      int getParametersCount()
      @@    .. cpp:var:: map<string, string> parameters
      @@
      @@       Additional parameters used to configure the accelerator.
      @@
       
      map<string, string> parameters = 2;
    • containsParameters

      boolean containsParameters(String key)
      @@    .. cpp:var:: map<string, string> parameters
      @@
      @@       Additional parameters used to configure the accelerator.
      @@
       
      map<string, string> parameters = 2;
    • getParameters

      @Deprecated Map<String,String> getParameters()
      Deprecated.
      Use getParametersMap() instead.
    • getParametersMap

      Map<String,String> getParametersMap()
      @@    .. cpp:var:: map<string, string> parameters
      @@
      @@       Additional parameters used to configure the accelerator.
      @@
       
      map<string, string> parameters = 2;
    • getParametersOrDefault

      String getParametersOrDefault(String key, String defaultValue)
      @@    .. cpp:var:: map<string, string> parameters
      @@
      @@       Additional parameters used to configure the accelerator.
      @@
       
      map<string, string> parameters = 2;
    • getParametersOrThrow

      String getParametersOrThrow(String key)
      @@    .. cpp:var:: map<string, string> parameters
      @@
      @@       Additional parameters used to configure the accelerator.
      @@
       
      map<string, string> parameters = 2;