Interface TargetPlatform.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TargetPlatform.Builder,TargetPlatform>,SdkBuilder<TargetPlatform.Builder,TargetPlatform>,SdkPojo
- Enclosing class:
- TargetPlatform
public static interface TargetPlatform.Builder extends SdkPojo, CopyableBuilder<TargetPlatform.Builder,TargetPlatform>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TargetPlatform.Builderaccelerator(String accelerator)The target accelerator for the model.TargetPlatform.Builderaccelerator(TargetPlatformAccelerator accelerator)The target accelerator for the model.TargetPlatform.Builderarch(String arch)The target architecture for the model.TargetPlatform.Builderarch(TargetPlatformArch arch)The target architecture for the model.TargetPlatform.Builderos(String os)The target operating system for the model.TargetPlatform.Builderos(TargetPlatformOs os)The target operating system for the model.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
os
TargetPlatform.Builder os(String os)
The target operating system for the model. Linux is the only operating system that is currently supported.
- Parameters:
os- The target operating system for the model. Linux is the only operating system that is currently supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetPlatformOs,TargetPlatformOs
-
os
TargetPlatform.Builder os(TargetPlatformOs os)
The target operating system for the model. Linux is the only operating system that is currently supported.
- Parameters:
os- The target operating system for the model. Linux is the only operating system that is currently supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetPlatformOs,TargetPlatformOs
-
arch
TargetPlatform.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).
- Parameters:
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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetPlatformArch,TargetPlatformArch
-
arch
TargetPlatform.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).
- Parameters:
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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetPlatformArch,TargetPlatformArch
-
accelerator
TargetPlatform.Builder accelerator(String accelerator)
The target accelerator for the model. Currently, Amazon Lookout for Vision only supports NVIDIA (Nvidia graphics processing unit) and CPU accelerators. If you specify NVIDIA as an accelerator, you must also specify the
gpu-code,trt-ver, andcuda-vercompiler options. If you don't specify an accelerator, Lookout for Vision uses the CPU for compilation and we highly recommend that you use the GreengrassConfiguration$CompilerOptions field. For example, you can use the following compiler options for CPU:-
mcpu: CPU micro-architecture. For example,{'mcpu': 'skylake-avx512'} -
mattr: CPU flags. For example,{'mattr': ['+neon', '+vfpv4']}
- Parameters:
accelerator- The target accelerator for the model. Currently, Amazon Lookout for Vision only supports NVIDIA (Nvidia graphics processing unit) and CPU accelerators. If you specify NVIDIA as an accelerator, you must also specify thegpu-code,trt-ver, andcuda-vercompiler options. If you don't specify an accelerator, Lookout for Vision uses the CPU for compilation and we highly recommend that you use the GreengrassConfiguration$CompilerOptions field. For example, you can use the following compiler options for CPU:-
mcpu: CPU micro-architecture. For example,{'mcpu': 'skylake-avx512'} -
mattr: CPU flags. For example,{'mattr': ['+neon', '+vfpv4']}
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetPlatformAccelerator,TargetPlatformAccelerator
-
-
accelerator
TargetPlatform.Builder accelerator(TargetPlatformAccelerator accelerator)
The target accelerator for the model. Currently, Amazon Lookout for Vision only supports NVIDIA (Nvidia graphics processing unit) and CPU accelerators. If you specify NVIDIA as an accelerator, you must also specify the
gpu-code,trt-ver, andcuda-vercompiler options. If you don't specify an accelerator, Lookout for Vision uses the CPU for compilation and we highly recommend that you use the GreengrassConfiguration$CompilerOptions field. For example, you can use the following compiler options for CPU:-
mcpu: CPU micro-architecture. For example,{'mcpu': 'skylake-avx512'} -
mattr: CPU flags. For example,{'mattr': ['+neon', '+vfpv4']}
- Parameters:
accelerator- The target accelerator for the model. Currently, Amazon Lookout for Vision only supports NVIDIA (Nvidia graphics processing unit) and CPU accelerators. If you specify NVIDIA as an accelerator, you must also specify thegpu-code,trt-ver, andcuda-vercompiler options. If you don't specify an accelerator, Lookout for Vision uses the CPU for compilation and we highly recommend that you use the GreengrassConfiguration$CompilerOptions field. For example, you can use the following compiler options for CPU:-
mcpu: CPU micro-architecture. For example,{'mcpu': 'skylake-avx512'} -
mattr: CPU flags. For example,{'mattr': ['+neon', '+vfpv4']}
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetPlatformAccelerator,TargetPlatformAccelerator
-
-
-