Class: Cohere::Transcribe::TranscriptionStatistics
- Inherits:
-
Data
- Object
- Data
- Cohere::Transcribe::TranscriptionStatistics
- Defined in:
- lib/cohere/transcribe/types.rb,
sig/cohere/transcribe.rbs
Overview
Stable high-level performance and resource statistics for one run.
Instance Attribute Summary collapse
-
#aligner_load_seconds ⇒ Object
readonly
Returns the value of attribute aligner_load_seconds.
-
#asr_batches ⇒ Object
readonly
Returns the value of attribute asr_batches.
-
#asr_load_seconds ⇒ Object
readonly
Returns the value of attribute asr_load_seconds.
-
#asr_processor_rows ⇒ Object
readonly
Returns the value of attribute asr_processor_rows.
-
#asr_seconds ⇒ Object
readonly
Returns the value of attribute asr_seconds.
-
#decode_seconds ⇒ Object
readonly
Returns the value of attribute decode_seconds.
-
#elapsed_seconds ⇒ Object
readonly
Returns the value of attribute elapsed_seconds.
-
#emissions_seconds ⇒ Object
readonly
Returns the value of attribute emissions_seconds.
-
#generated_tokens ⇒ Object
readonly
Returns the value of attribute generated_tokens.
-
#input_validation_seconds ⇒ Object
readonly
Returns the value of attribute input_validation_seconds.
-
#oom_retries ⇒ Object
readonly
Returns the value of attribute oom_retries.
-
#peak_cuda_allocated_gib ⇒ Object
readonly
Returns the value of attribute peak_cuda_allocated_gib.
-
#peak_cuda_reserved_gib ⇒ Object
readonly
Returns the value of attribute peak_cuda_reserved_gib.
-
#real_time_factor_x ⇒ Object
readonly
Returns the value of attribute real_time_factor_x.
-
#runtime_import_seconds ⇒ Object
readonly
Returns the value of attribute runtime_import_seconds.
-
#serialization_wait_seconds ⇒ Object
readonly
Returns the value of attribute serialization_wait_seconds.
-
#successful_audio_seconds ⇒ Object
readonly
Returns the value of attribute successful_audio_seconds.
-
#truncation_retries ⇒ Object
readonly
Returns the value of attribute truncation_retries.
-
#vad_seconds ⇒ Object
readonly
Returns the value of attribute vad_seconds.
-
#viterbi_seconds ⇒ Object
readonly
Returns the value of attribute viterbi_seconds.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(elapsed_seconds:, successful_audio_seconds:, real_time_factor_x:, runtime_import_seconds:, serialization_wait_seconds:, input_validation_seconds:, decode_seconds:, vad_seconds:, asr_load_seconds:, asr_seconds:, aligner_load_seconds:, emissions_seconds:, viterbi_seconds:, peak_cuda_allocated_gib:, peak_cuda_reserved_gib:, asr_batches:, asr_processor_rows:, generated_tokens:, oom_retries:, truncation_retries:) ⇒ TranscriptionStatistics
constructor
A new instance of TranscriptionStatistics.
Constructor Details
#initialize(elapsed_seconds:, successful_audio_seconds:, real_time_factor_x:, runtime_import_seconds:, serialization_wait_seconds:, input_validation_seconds:, decode_seconds:, vad_seconds:, asr_load_seconds:, asr_seconds:, aligner_load_seconds:, emissions_seconds:, viterbi_seconds:, peak_cuda_allocated_gib:, peak_cuda_reserved_gib:, asr_batches:, asr_processor_rows:, generated_tokens:, oom_retries:, truncation_retries:) ⇒ TranscriptionStatistics
Returns a new instance of TranscriptionStatistics.
407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 |
# File 'lib/cohere/transcribe/types.rb', line 407 def initialize( elapsed_seconds:, successful_audio_seconds:, real_time_factor_x:, runtime_import_seconds:, serialization_wait_seconds:, input_validation_seconds:, decode_seconds:, vad_seconds:, asr_load_seconds:, asr_seconds:, aligner_load_seconds:, emissions_seconds:, viterbi_seconds:, peak_cuda_allocated_gib:, peak_cuda_reserved_gib:, asr_batches:, asr_processor_rows:, generated_tokens:, oom_retries:, truncation_retries: ) super end |
Instance Attribute Details
#aligner_load_seconds ⇒ Object (readonly)
Returns the value of attribute aligner_load_seconds
385 386 387 |
# File 'lib/cohere/transcribe/types.rb', line 385 def aligner_load_seconds @aligner_load_seconds end |
#asr_batches ⇒ Object (readonly)
Returns the value of attribute asr_batches
385 386 387 |
# File 'lib/cohere/transcribe/types.rb', line 385 def asr_batches @asr_batches end |
#asr_load_seconds ⇒ Object (readonly)
Returns the value of attribute asr_load_seconds
385 386 387 |
# File 'lib/cohere/transcribe/types.rb', line 385 def asr_load_seconds @asr_load_seconds end |
#asr_processor_rows ⇒ Object (readonly)
Returns the value of attribute asr_processor_rows
385 386 387 |
# File 'lib/cohere/transcribe/types.rb', line 385 def asr_processor_rows @asr_processor_rows end |
#asr_seconds ⇒ Object (readonly)
Returns the value of attribute asr_seconds
385 386 387 |
# File 'lib/cohere/transcribe/types.rb', line 385 def asr_seconds @asr_seconds end |
#decode_seconds ⇒ Object (readonly)
Returns the value of attribute decode_seconds
385 386 387 |
# File 'lib/cohere/transcribe/types.rb', line 385 def decode_seconds @decode_seconds end |
#elapsed_seconds ⇒ Object (readonly)
Returns the value of attribute elapsed_seconds
385 386 387 |
# File 'lib/cohere/transcribe/types.rb', line 385 def elapsed_seconds @elapsed_seconds end |
#emissions_seconds ⇒ Object (readonly)
Returns the value of attribute emissions_seconds
385 386 387 |
# File 'lib/cohere/transcribe/types.rb', line 385 def emissions_seconds @emissions_seconds end |
#generated_tokens ⇒ Object (readonly)
Returns the value of attribute generated_tokens
385 386 387 |
# File 'lib/cohere/transcribe/types.rb', line 385 def generated_tokens @generated_tokens end |
#input_validation_seconds ⇒ Object (readonly)
Returns the value of attribute input_validation_seconds
385 386 387 |
# File 'lib/cohere/transcribe/types.rb', line 385 def input_validation_seconds @input_validation_seconds end |
#oom_retries ⇒ Object (readonly)
Returns the value of attribute oom_retries
385 386 387 |
# File 'lib/cohere/transcribe/types.rb', line 385 def oom_retries @oom_retries end |
#peak_cuda_allocated_gib ⇒ Object (readonly)
Returns the value of attribute peak_cuda_allocated_gib
385 386 387 |
# File 'lib/cohere/transcribe/types.rb', line 385 def peak_cuda_allocated_gib @peak_cuda_allocated_gib end |
#peak_cuda_reserved_gib ⇒ Object (readonly)
Returns the value of attribute peak_cuda_reserved_gib
385 386 387 |
# File 'lib/cohere/transcribe/types.rb', line 385 def peak_cuda_reserved_gib @peak_cuda_reserved_gib end |
#real_time_factor_x ⇒ Object (readonly)
Returns the value of attribute real_time_factor_x
385 386 387 |
# File 'lib/cohere/transcribe/types.rb', line 385 def real_time_factor_x @real_time_factor_x end |
#runtime_import_seconds ⇒ Object (readonly)
Returns the value of attribute runtime_import_seconds
385 386 387 |
# File 'lib/cohere/transcribe/types.rb', line 385 def runtime_import_seconds @runtime_import_seconds end |
#serialization_wait_seconds ⇒ Object (readonly)
Returns the value of attribute serialization_wait_seconds
385 386 387 |
# File 'lib/cohere/transcribe/types.rb', line 385 def serialization_wait_seconds @serialization_wait_seconds end |
#successful_audio_seconds ⇒ Object (readonly)
Returns the value of attribute successful_audio_seconds
385 386 387 |
# File 'lib/cohere/transcribe/types.rb', line 385 def successful_audio_seconds @successful_audio_seconds end |
#truncation_retries ⇒ Object (readonly)
Returns the value of attribute truncation_retries
385 386 387 |
# File 'lib/cohere/transcribe/types.rb', line 385 def truncation_retries @truncation_retries end |
#vad_seconds ⇒ Object (readonly)
Returns the value of attribute vad_seconds
385 386 387 |
# File 'lib/cohere/transcribe/types.rb', line 385 def vad_seconds @vad_seconds end |
#viterbi_seconds ⇒ Object (readonly)
Returns the value of attribute viterbi_seconds
385 386 387 |
# File 'lib/cohere/transcribe/types.rb', line 385 def viterbi_seconds @viterbi_seconds end |
Class Method Details
.new ⇒ TranscriptionStatistics
179 |
# File 'sig/cohere/transcribe.rbs', line 179
def self.new: (**untyped) -> TranscriptionStatistics
|