public static interface TargetPlatform.Builder extends SdkPojo, CopyableBuilder<TargetPlatform.Builder,TargetPlatform>
| Modifier and Type | Method and Description |
|---|---|
TargetPlatform.Builder |
accelerator(String accelerator)
The target accelerator for the model.
|
TargetPlatform.Builder |
accelerator(TargetPlatformAccelerator accelerator)
The target accelerator for the model.
|
TargetPlatform.Builder |
arch(String arch)
The target architecture for the model.
|
TargetPlatform.Builder |
arch(TargetPlatformArch arch)
The target architecture for the model.
|
TargetPlatform.Builder |
os(String os)
The target operating system for the model.
|
TargetPlatform.Builder |
os(TargetPlatformOs os)
The target operating system for the model.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTargetPlatform.Builder os(String os)
The target operating system for the model. Linux is the only operating system that is currently supported.
os - The target operating system for the model. Linux is the only operating system that is currently
supported.TargetPlatformOs,
TargetPlatformOsTargetPlatform.Builder os(TargetPlatformOs os)
The target operating system for the model. Linux is the only operating system that is currently supported.
os - The target operating system for the model. Linux is the only operating system that is currently
supported.TargetPlatformOs,
TargetPlatformOsTargetPlatform.Builder arch(String arch)
The target architecture for the model. The currently supported architectures are X86_64 (64-bit version of the x86 instruction set) and ARM_64 (ARMv8 64-bit CPU).
arch - The target architecture for the model. The currently supported architectures are X86_64 (64-bit
version of the x86 instruction set) and ARM_64 (ARMv8 64-bit CPU).TargetPlatformArch,
TargetPlatformArchTargetPlatform.Builder arch(TargetPlatformArch arch)
The target architecture for the model. The currently supported architectures are X86_64 (64-bit version of the x86 instruction set) and ARM_64 (ARMv8 64-bit CPU).
arch - The target architecture for the model. The currently supported architectures are X86_64 (64-bit
version of the x86 instruction set) and ARM_64 (ARMv8 64-bit CPU).TargetPlatformArch,
TargetPlatformArchTargetPlatform.Builder accelerator(String accelerator)
The target accelerator for the model. NVIDIA (Nvidia graphics processing unit) is the only accelerator that
is currently supported. You must also specify the gpu-code, trt-ver, and
cuda-ver compiler options.
accelerator - The target accelerator for the model. NVIDIA (Nvidia graphics processing unit) is the only accelerator
that is currently supported. You must also specify the gpu-code, trt-ver,
and cuda-ver compiler options.TargetPlatformAccelerator,
TargetPlatformAcceleratorTargetPlatform.Builder accelerator(TargetPlatformAccelerator accelerator)
The target accelerator for the model. NVIDIA (Nvidia graphics processing unit) is the only accelerator that
is currently supported. You must also specify the gpu-code, trt-ver, and
cuda-ver compiler options.
accelerator - The target accelerator for the model. NVIDIA (Nvidia graphics processing unit) is the only accelerator
that is currently supported. You must also specify the gpu-code, trt-ver,
and cuda-ver compiler options.TargetPlatformAccelerator,
TargetPlatformAcceleratorCopyright © 2022. All rights reserved.