Page Summary
-
AccelerationConfigis an abstract class representing all types of acceleration configurations. -
Known direct subclasses are
CpuAccelerationConfigandGpuAccelerationConfig, which represent CPU and GPU acceleration configs respectively. -
It includes a nested enum
AccelerationConfig.AcceleratorTypeto specify the accelerator to use. -
Public methods include
getAcceleratorName()to return the accelerator type andserialize()to serialize the config as bytes.
| Known Direct Subclasses |
Abstract class that represents all types of acceleration configs.
Nested Class Summary
| enum | AccelerationConfig.AcceleratorType | Accelerator to use. | |
Public Method Summary
| String |
getAcceleratorName()
Returns the accelerator type of this config.
|
| byte[] |
serialize()
Serializes config as bytes.
|
Inherited Method Summary
Public Methods
public String getAcceleratorName ()
Returns the accelerator type of this config.
public byte[] serialize ()
Serializes config as bytes.