Class: Aws::ElementalInference::Types::FrameSamplingStrategy

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

Overview

Specifies how Elemental Inference chooses frames from the media of each run, and how many frames it chooses. The media of a run is the interval, shot, scene, or clips that the run covers.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#count ⇒ Integer

The number of frames to send on each run. Valid range: 1 to 64. The default is 1. Each frame adds to the size of the model request and to what the model charges for it.

Returns:

  • (Integer)


1575
1576
1577
1578
1579
1580
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 1575

class FrameSamplingStrategy < Struct.new(
  :mode,
  :count)
  SENSITIVE = []
  include Aws::Structure
end

#mode ⇒ String

Which frames of the window to send: FIRST (the first frames), UNIFORM (frames spread evenly across the window), or LAST (the last frames).

Returns:

  • (String)


1575
1576
1577
1578
1579
1580
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 1575

class FrameSamplingStrategy < Struct.new(
  :mode,
  :count)
  SENSITIVE = []
  include Aws::Structure
end