@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TargetPlatform extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a target platform that you want your model to run on, such as OS, architecture, and
accelerators. It is an alternative of TargetDevice
.
Constructor and Description |
---|
TargetPlatform() |
Modifier and Type | Method and Description |
---|---|
TargetPlatform |
clone() |
boolean |
equals(Object obj) |
String |
getAccelerator()
Specifies a target platform accelerator (optional).
|
String |
getArch()
Specifies a target platform architecture.
|
String |
getOs()
Specifies a target platform OS.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccelerator(String accelerator)
Specifies a target platform accelerator (optional).
|
void |
setArch(String arch)
Specifies a target platform architecture.
|
void |
setOs(String os)
Specifies a target platform OS.
|
String |
toString()
Returns a string representation of this object.
|
TargetPlatform |
withAccelerator(String accelerator)
Specifies a target platform accelerator (optional).
|
TargetPlatform |
withAccelerator(TargetPlatformAccelerator accelerator)
Specifies a target platform accelerator (optional).
|
TargetPlatform |
withArch(String arch)
Specifies a target platform architecture.
|
TargetPlatform |
withArch(TargetPlatformArch arch)
Specifies a target platform architecture.
|
TargetPlatform |
withOs(String os)
Specifies a target platform OS.
|
TargetPlatform |
withOs(TargetPlatformOs os)
Specifies a target platform OS.
|
public void setOs(String os)
Specifies a target platform OS.
LINUX
: Linux-based operating systems.
ANDROID
: Android operating systems. Android API level can be specified using the
ANDROID_PLATFORM
compiler option. For example,
"CompilerOptions": {'ANDROID_PLATFORM': 28}
os
- Specifies a target platform OS.
LINUX
: Linux-based operating systems.
ANDROID
: Android operating systems. Android API level can be specified using the
ANDROID_PLATFORM
compiler option. For example,
"CompilerOptions": {'ANDROID_PLATFORM': 28}
TargetPlatformOs
public String getOs()
Specifies a target platform OS.
LINUX
: Linux-based operating systems.
ANDROID
: Android operating systems. Android API level can be specified using the
ANDROID_PLATFORM
compiler option. For example,
"CompilerOptions": {'ANDROID_PLATFORM': 28}
LINUX
: Linux-based operating systems.
ANDROID
: Android operating systems. Android API level can be specified using the
ANDROID_PLATFORM
compiler option. For example,
"CompilerOptions": {'ANDROID_PLATFORM': 28}
TargetPlatformOs
public TargetPlatform withOs(String os)
Specifies a target platform OS.
LINUX
: Linux-based operating systems.
ANDROID
: Android operating systems. Android API level can be specified using the
ANDROID_PLATFORM
compiler option. For example,
"CompilerOptions": {'ANDROID_PLATFORM': 28}
os
- Specifies a target platform OS.
LINUX
: Linux-based operating systems.
ANDROID
: Android operating systems. Android API level can be specified using the
ANDROID_PLATFORM
compiler option. For example,
"CompilerOptions": {'ANDROID_PLATFORM': 28}
TargetPlatformOs
public TargetPlatform withOs(TargetPlatformOs os)
Specifies a target platform OS.
LINUX
: Linux-based operating systems.
ANDROID
: Android operating systems. Android API level can be specified using the
ANDROID_PLATFORM
compiler option. For example,
"CompilerOptions": {'ANDROID_PLATFORM': 28}
os
- Specifies a target platform OS.
LINUX
: Linux-based operating systems.
ANDROID
: Android operating systems. Android API level can be specified using the
ANDROID_PLATFORM
compiler option. For example,
"CompilerOptions": {'ANDROID_PLATFORM': 28}
TargetPlatformOs
public void setArch(String arch)
Specifies a target platform architecture.
X86_64
: 64-bit version of the x86 instruction set.
X86
: 32-bit version of the x86 instruction set.
ARM64
: ARMv8 64-bit CPU.
ARM_EABIHF
: ARMv7 32-bit, Hard Float.
ARM_EABI
: ARMv7 32-bit, Soft Float. Used by Android 32-bit ARM platform.
arch
- Specifies a target platform architecture.
X86_64
: 64-bit version of the x86 instruction set.
X86
: 32-bit version of the x86 instruction set.
ARM64
: ARMv8 64-bit CPU.
ARM_EABIHF
: ARMv7 32-bit, Hard Float.
ARM_EABI
: ARMv7 32-bit, Soft Float. Used by Android 32-bit ARM platform.
TargetPlatformArch
public String getArch()
Specifies a target platform architecture.
X86_64
: 64-bit version of the x86 instruction set.
X86
: 32-bit version of the x86 instruction set.
ARM64
: ARMv8 64-bit CPU.
ARM_EABIHF
: ARMv7 32-bit, Hard Float.
ARM_EABI
: ARMv7 32-bit, Soft Float. Used by Android 32-bit ARM platform.
X86_64
: 64-bit version of the x86 instruction set.
X86
: 32-bit version of the x86 instruction set.
ARM64
: ARMv8 64-bit CPU.
ARM_EABIHF
: ARMv7 32-bit, Hard Float.
ARM_EABI
: ARMv7 32-bit, Soft Float. Used by Android 32-bit ARM platform.
TargetPlatformArch
public TargetPlatform withArch(String arch)
Specifies a target platform architecture.
X86_64
: 64-bit version of the x86 instruction set.
X86
: 32-bit version of the x86 instruction set.
ARM64
: ARMv8 64-bit CPU.
ARM_EABIHF
: ARMv7 32-bit, Hard Float.
ARM_EABI
: ARMv7 32-bit, Soft Float. Used by Android 32-bit ARM platform.
arch
- Specifies a target platform architecture.
X86_64
: 64-bit version of the x86 instruction set.
X86
: 32-bit version of the x86 instruction set.
ARM64
: ARMv8 64-bit CPU.
ARM_EABIHF
: ARMv7 32-bit, Hard Float.
ARM_EABI
: ARMv7 32-bit, Soft Float. Used by Android 32-bit ARM platform.
TargetPlatformArch
public TargetPlatform withArch(TargetPlatformArch arch)
Specifies a target platform architecture.
X86_64
: 64-bit version of the x86 instruction set.
X86
: 32-bit version of the x86 instruction set.
ARM64
: ARMv8 64-bit CPU.
ARM_EABIHF
: ARMv7 32-bit, Hard Float.
ARM_EABI
: ARMv7 32-bit, Soft Float. Used by Android 32-bit ARM platform.
arch
- Specifies a target platform architecture.
X86_64
: 64-bit version of the x86 instruction set.
X86
: 32-bit version of the x86 instruction set.
ARM64
: ARMv8 64-bit CPU.
ARM_EABIHF
: ARMv7 32-bit, Hard Float.
ARM_EABI
: ARMv7 32-bit, Soft Float. Used by Android 32-bit ARM platform.
TargetPlatformArch
public void setAccelerator(String accelerator)
Specifies a target platform accelerator (optional).
NVIDIA
: Nvidia graphics processing unit. It also requires gpu-code
,
trt-ver
, cuda-ver
compiler options
MALI
: ARM Mali graphics processor
INTEL_GRAPHICS
: Integrated Intel graphics
accelerator
- Specifies a target platform accelerator (optional).
NVIDIA
: Nvidia graphics processing unit. It also requires gpu-code
,
trt-ver
, cuda-ver
compiler options
MALI
: ARM Mali graphics processor
INTEL_GRAPHICS
: Integrated Intel graphics
TargetPlatformAccelerator
public String getAccelerator()
Specifies a target platform accelerator (optional).
NVIDIA
: Nvidia graphics processing unit. It also requires gpu-code
,
trt-ver
, cuda-ver
compiler options
MALI
: ARM Mali graphics processor
INTEL_GRAPHICS
: Integrated Intel graphics
NVIDIA
: Nvidia graphics processing unit. It also requires gpu-code
,
trt-ver
, cuda-ver
compiler options
MALI
: ARM Mali graphics processor
INTEL_GRAPHICS
: Integrated Intel graphics
TargetPlatformAccelerator
public TargetPlatform withAccelerator(String accelerator)
Specifies a target platform accelerator (optional).
NVIDIA
: Nvidia graphics processing unit. It also requires gpu-code
,
trt-ver
, cuda-ver
compiler options
MALI
: ARM Mali graphics processor
INTEL_GRAPHICS
: Integrated Intel graphics
accelerator
- Specifies a target platform accelerator (optional).
NVIDIA
: Nvidia graphics processing unit. It also requires gpu-code
,
trt-ver
, cuda-ver
compiler options
MALI
: ARM Mali graphics processor
INTEL_GRAPHICS
: Integrated Intel graphics
TargetPlatformAccelerator
public TargetPlatform withAccelerator(TargetPlatformAccelerator accelerator)
Specifies a target platform accelerator (optional).
NVIDIA
: Nvidia graphics processing unit. It also requires gpu-code
,
trt-ver
, cuda-ver
compiler options
MALI
: ARM Mali graphics processor
INTEL_GRAPHICS
: Integrated Intel graphics
accelerator
- Specifies a target platform accelerator (optional).
NVIDIA
: Nvidia graphics processing unit. It also requires gpu-code
,
trt-ver
, cuda-ver
compiler options
MALI
: ARM Mali graphics processor
INTEL_GRAPHICS
: Integrated Intel graphics
TargetPlatformAccelerator
public String toString()
toString
in class Object
Object.toString()
public TargetPlatform clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.