Class: Aws::ElementalInference::Types::FrameSettings
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElementalInference::Types::FrameSettings
- Defined in:
- gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb
Overview
The frames that a function receives in media.frames on each run: which frames, how many, and at what size. Elemental Inference applies these settings only to a function that references media.frames.
When you add or change the function output, Elemental Inference estimates the size of the frames and rejects settings whose frames won't fit in one model request. To send more frames in each request, specify a smaller frameSize.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#frame_sampling ⇒ Types::FrameSamplingStrategy
The method for choosing which frames to send.
-
#frame_size ⇒ Types::FrameSize
The size to resize each frame to.
Instance Attribute Details
#frame_sampling ⇒ Types::FrameSamplingStrategy
The method for choosing which frames to send.
1603 1604 1605 1606 1607 1608 |
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 1603 class FrameSettings < Struct.new( :frame_sampling, :frame_size) SENSITIVE = [] include Aws::Structure end |
#frame_size ⇒ Types::FrameSize
The size to resize each frame to. If you omit this structure, frames keep their source size. Smaller frames reduce the size of the model request.
1603 1604 1605 1606 1607 1608 |
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 1603 class FrameSettings < Struct.new( :frame_sampling, :frame_size) SENSITIVE = [] include Aws::Structure end |