blib/lib/Paws/SageMaker/TargetPlatform.pm untested

filter: Statementstmt 0.0% 0 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 7 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::SageMaker::TargetPlatform;
3 use Moose;
4 has Accelerator => (is => 'ro', isa => 'Str');
5 has Arch => (is => 'ro', isa => 'Str', required => 1);
6 has Os => (is => 'ro', isa => 'Str', required => 1);
7  
8 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::SageMaker::TargetPlatform
15  
16 =head1 USAGE
17  
18 This class represents one of two things:
19  
20 =head3 Arguments in a call to a service
21  
22 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23 Each attribute should be used as a named argument in the calls that expect this type of object.
24  
25 As an example, if Att1 is expected to be a Paws::SageMaker::TargetPlatform object:
26  
27 $service_obj->Method(Att1 => { Accelerator => $value, ..., Os => $value });
28  
29 =head3 Results returned from an API call
30  
31 Use accessors for each attribute. If Att1 is expected to be an Paws::SageMaker::TargetPlatform object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->Accelerator
35  
36 =head1 DESCRIPTION
37  
38 Contains information about a target platform that you want your model
39 to run on, such as OS, architecture, and accelerators. It is an
40 alternative of C<TargetDevice>.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 Accelerator => Str
46  
47 Specifies a target platform accelerator (optional).
48  
49 =over
50  
51 =item *
52  
53 C<NVIDIA>: Nvidia graphics processing unit. It also requires
54 C<gpu-code>, C<trt-ver>, C<cuda-ver> compiler options
55  
56 =item *
57  
58 C<MALI>: ARM Mali graphics processor
59  
60 =item *
61  
62 C<INTEL_GRAPHICS>: Integrated Intel graphics
63  
64 =back
65  
66  
67  
68 =head2 B<REQUIRED> Arch => Str
69  
70 Specifies a target platform architecture.
71  
72 =over
73  
74 =item *
75  
76 C<X86_64>: 64-bit version of the x86 instruction set.
77  
78 =item *
79  
80 C<X86>: 32-bit version of the x86 instruction set.
81  
82 =item *
83  
84 C<ARM64>: ARMv8 64-bit CPU.
85  
86 =item *
87  
88 C<ARM_EABIHF>: ARMv7 32-bit, Hard Float.
89  
90 =item *
91  
92 C<ARM_EABI>: ARMv7 32-bit, Soft Float. Used by Android 32-bit ARM
93 platform.
94  
95 =back
96  
97  
98  
99 =head2 B<REQUIRED> Os => Str
100  
101 Specifies a target platform OS.
102  
103 =over
104  
105 =item *
106  
107 C<LINUX>: Linux-based operating systems.
108  
109 =item *
110  
111 C<ANDROID>: Android operating systems. Android API level can be
112 specified using the C<ANDROID_PLATFORM> compiler option. For example,
113 C<"CompilerOptions": {'ANDROID_PLATFORM': 28}>
114  
115 =back
116  
117  
118  
119  
120 =head1 SEE ALSO
121  
122 This class forms part of L<Paws>, describing an object used in L<Paws::SageMaker>
123  
124 =head1 BUGS and CONTRIBUTIONS
125  
126 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
127  
128 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
129  
130 =cut
131