Class: Cohere::Transcribe::VAD::Silero::Execution
- Inherits:
-
Data
- Object
- Data
- Cohere::Transcribe::VAD::Silero::Execution
- Defined in:
- lib/cohere/transcribe/vad/silero.rb
Instance Attribute Summary collapse
-
#effective_block_frames ⇒ Object
readonly
Returns the value of attribute effective_block_frames.
-
#inference_seconds ⇒ Object
readonly
Returns the value of attribute inference_seconds.
-
#max_files_per_call ⇒ Object
readonly
Returns the value of attribute max_files_per_call.
-
#model_calls ⇒ Object
readonly
Returns the value of attribute model_calls.
-
#model_load_seconds ⇒ Object
readonly
Returns the value of attribute model_load_seconds.
-
#padded_frames ⇒ Object
readonly
Returns the value of attribute padded_frames.
-
#postprocess_seconds ⇒ Object
readonly
Returns the value of attribute postprocess_seconds.
-
#valid_frames ⇒ Object
readonly
Returns the value of attribute valid_frames.
Instance Method Summary collapse
-
#initialize(model_calls:, valid_frames:, padded_frames:, max_files_per_call:, effective_block_frames:, model_load_seconds: 0.0, inference_seconds: 0.0, postprocess_seconds: 0.0) ⇒ Execution
constructor
A new instance of Execution.
Constructor Details
#initialize(model_calls:, valid_frames:, padded_frames:, max_files_per_call:, effective_block_frames:, model_load_seconds: 0.0, inference_seconds: 0.0, postprocess_seconds: 0.0) ⇒ Execution
Returns a new instance of Execution.
46 47 48 49 |
# File 'lib/cohere/transcribe/vad/silero.rb', line 46 def initialize(model_calls:, valid_frames:, padded_frames:, max_files_per_call:, effective_block_frames:, model_load_seconds: 0.0, inference_seconds: 0.0, postprocess_seconds: 0.0) super end |
Instance Attribute Details
#effective_block_frames ⇒ Object (readonly)
Returns the value of attribute effective_block_frames
36 37 38 |
# File 'lib/cohere/transcribe/vad/silero.rb', line 36 def effective_block_frames @effective_block_frames end |
#inference_seconds ⇒ Object (readonly)
Returns the value of attribute inference_seconds
36 37 38 |
# File 'lib/cohere/transcribe/vad/silero.rb', line 36 def inference_seconds @inference_seconds end |
#max_files_per_call ⇒ Object (readonly)
Returns the value of attribute max_files_per_call
36 37 38 |
# File 'lib/cohere/transcribe/vad/silero.rb', line 36 def max_files_per_call @max_files_per_call end |
#model_calls ⇒ Object (readonly)
Returns the value of attribute model_calls
36 37 38 |
# File 'lib/cohere/transcribe/vad/silero.rb', line 36 def model_calls @model_calls end |
#model_load_seconds ⇒ Object (readonly)
Returns the value of attribute model_load_seconds
36 37 38 |
# File 'lib/cohere/transcribe/vad/silero.rb', line 36 def model_load_seconds @model_load_seconds end |
#padded_frames ⇒ Object (readonly)
Returns the value of attribute padded_frames
36 37 38 |
# File 'lib/cohere/transcribe/vad/silero.rb', line 36 def padded_frames @padded_frames end |
#postprocess_seconds ⇒ Object (readonly)
Returns the value of attribute postprocess_seconds
36 37 38 |
# File 'lib/cohere/transcribe/vad/silero.rb', line 36 def postprocess_seconds @postprocess_seconds end |
#valid_frames ⇒ Object (readonly)
Returns the value of attribute valid_frames
36 37 38 |
# File 'lib/cohere/transcribe/vad/silero.rb', line 36 def valid_frames @valid_frames end |