libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SageMaker.Types.TargetPlatform

Description

 
Synopsis

Documentation

data TargetPlatform Source #

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.

See: newTargetPlatform smart constructor.

Constructors

TargetPlatform' 

Fields

  • accelerator :: Maybe TargetPlatformAccelerator

    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
  • os :: TargetPlatformOs

    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}
  • arch :: TargetPlatformArch

    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.

Instances

Instances details
Eq TargetPlatform Source # 
Instance details

Defined in Amazonka.SageMaker.Types.TargetPlatform

Read TargetPlatform Source # 
Instance details

Defined in Amazonka.SageMaker.Types.TargetPlatform

Show TargetPlatform Source # 
Instance details

Defined in Amazonka.SageMaker.Types.TargetPlatform

Generic TargetPlatform Source # 
Instance details

Defined in Amazonka.SageMaker.Types.TargetPlatform

Associated Types

type Rep TargetPlatform :: Type -> Type #

NFData TargetPlatform Source # 
Instance details

Defined in Amazonka.SageMaker.Types.TargetPlatform

Methods

rnf :: TargetPlatform -> () #

Hashable TargetPlatform Source # 
Instance details

Defined in Amazonka.SageMaker.Types.TargetPlatform

ToJSON TargetPlatform Source # 
Instance details

Defined in Amazonka.SageMaker.Types.TargetPlatform

FromJSON TargetPlatform Source # 
Instance details

Defined in Amazonka.SageMaker.Types.TargetPlatform

type Rep TargetPlatform Source # 
Instance details

Defined in Amazonka.SageMaker.Types.TargetPlatform

type Rep TargetPlatform = D1 ('MetaData "TargetPlatform" "Amazonka.SageMaker.Types.TargetPlatform" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "TargetPlatform'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accelerator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TargetPlatformAccelerator)) :*: (S1 ('MetaSel ('Just "os") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TargetPlatformOs) :*: S1 ('MetaSel ('Just "arch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TargetPlatformArch))))

newTargetPlatform Source #

Create a value of TargetPlatform with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:accelerator:TargetPlatform', targetPlatform_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

$sel:os:TargetPlatform', targetPlatform_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}

$sel:arch:TargetPlatform', targetPlatform_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.

targetPlatform_accelerator :: Lens' TargetPlatform (Maybe TargetPlatformAccelerator) Source #

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

targetPlatform_os :: Lens' TargetPlatform TargetPlatformOs Source #

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}

targetPlatform_arch :: Lens' TargetPlatform TargetPlatformArch Source #

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.