Class: Aws::LookoutforVision::Types::TargetPlatform

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lookoutforvision/lib/aws-sdk-lookoutforvision/types.rb

Overview

The platform on which a model runs on an AWS IoT Greengrass core device.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#acceleratorString

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, and cuda-ver compiler 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:

  • (String)


1941
1942
1943
1944
1945
1946
1947
# File 'gems/aws-sdk-lookoutforvision/lib/aws-sdk-lookoutforvision/types.rb', line 1941

class TargetPlatform < Struct.new(
  :os,
  :arch,
  :accelerator)
  SENSITIVE = []
  include Aws::Structure
end

#archString

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:

  • (String)


1941
1942
1943
1944
1945
1946
1947
# File 'gems/aws-sdk-lookoutforvision/lib/aws-sdk-lookoutforvision/types.rb', line 1941

class TargetPlatform < Struct.new(
  :os,
  :arch,
  :accelerator)
  SENSITIVE = []
  include Aws::Structure
end

#osString

The target operating system for the model. Linux is the only operating system that is currently supported.

Returns:

  • (String)


1941
1942
1943
1944
1945
1946
1947
# File 'gems/aws-sdk-lookoutforvision/lib/aws-sdk-lookoutforvision/types.rb', line 1941

class TargetPlatform < Struct.new(
  :os,
  :arch,
  :accelerator)
  SENSITIVE = []
  include Aws::Structure
end