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.
421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 |
# File 'lib/cohere/transcribe/types.rb', line 421 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
399 400 401 |
# File 'lib/cohere/transcribe/types.rb', line 399 def aligner_load_seconds @aligner_load_seconds end |
#asr_batches ⇒ Object (readonly)
Returns the value of attribute asr_batches
399 400 401 |
# File 'lib/cohere/transcribe/types.rb', line 399 def asr_batches @asr_batches end |
#asr_load_seconds ⇒ Object (readonly)
Returns the value of attribute asr_load_seconds
399 400 401 |
# File 'lib/cohere/transcribe/types.rb', line 399 def asr_load_seconds @asr_load_seconds end |
#asr_processor_rows ⇒ Object (readonly)
Returns the value of attribute asr_processor_rows
399 400 401 |
# File 'lib/cohere/transcribe/types.rb', line 399 def asr_processor_rows @asr_processor_rows end |
#asr_seconds ⇒ Object (readonly)
Returns the value of attribute asr_seconds
399 400 401 |
# File 'lib/cohere/transcribe/types.rb', line 399 def asr_seconds @asr_seconds end |
#decode_seconds ⇒ Object (readonly)
Returns the value of attribute decode_seconds
399 400 401 |
# File 'lib/cohere/transcribe/types.rb', line 399 def decode_seconds @decode_seconds end |
#elapsed_seconds ⇒ Object (readonly)
Returns the value of attribute elapsed_seconds
399 400 401 |
# File 'lib/cohere/transcribe/types.rb', line 399 def elapsed_seconds @elapsed_seconds end |
#emissions_seconds ⇒ Object (readonly)
Returns the value of attribute emissions_seconds
399 400 401 |
# File 'lib/cohere/transcribe/types.rb', line 399 def emissions_seconds @emissions_seconds end |
#generated_tokens ⇒ Object (readonly)
Returns the value of attribute generated_tokens
399 400 401 |
# File 'lib/cohere/transcribe/types.rb', line 399 def generated_tokens @generated_tokens end |
#input_validation_seconds ⇒ Object (readonly)
Returns the value of attribute input_validation_seconds
399 400 401 |
# File 'lib/cohere/transcribe/types.rb', line 399 def input_validation_seconds @input_validation_seconds end |
#oom_retries ⇒ Object (readonly)
Returns the value of attribute oom_retries
399 400 401 |
# File 'lib/cohere/transcribe/types.rb', line 399 def oom_retries @oom_retries end |
#peak_cuda_allocated_gib ⇒ Object (readonly)
Returns the value of attribute peak_cuda_allocated_gib
399 400 401 |
# File 'lib/cohere/transcribe/types.rb', line 399 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
399 400 401 |
# File 'lib/cohere/transcribe/types.rb', line 399 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
399 400 401 |
# File 'lib/cohere/transcribe/types.rb', line 399 def real_time_factor_x @real_time_factor_x end |
#runtime_import_seconds ⇒ Object (readonly)
Returns the value of attribute runtime_import_seconds
399 400 401 |
# File 'lib/cohere/transcribe/types.rb', line 399 def runtime_import_seconds @runtime_import_seconds end |
#serialization_wait_seconds ⇒ Object (readonly)
Returns the value of attribute serialization_wait_seconds
399 400 401 |
# File 'lib/cohere/transcribe/types.rb', line 399 def serialization_wait_seconds @serialization_wait_seconds end |
#successful_audio_seconds ⇒ Object (readonly)
Returns the value of attribute successful_audio_seconds
399 400 401 |
# File 'lib/cohere/transcribe/types.rb', line 399 def successful_audio_seconds @successful_audio_seconds end |
#truncation_retries ⇒ Object (readonly)
Returns the value of attribute truncation_retries
399 400 401 |
# File 'lib/cohere/transcribe/types.rb', line 399 def truncation_retries @truncation_retries end |
#vad_seconds ⇒ Object (readonly)
Returns the value of attribute vad_seconds
399 400 401 |
# File 'lib/cohere/transcribe/types.rb', line 399 def vad_seconds @vad_seconds end |
#viterbi_seconds ⇒ Object (readonly)
Returns the value of attribute viterbi_seconds
399 400 401 |
# File 'lib/cohere/transcribe/types.rb', line 399 def viterbi_seconds @viterbi_seconds end |
Class Method Details
.new ⇒ TranscriptionStatistics
180 |
# File 'sig/cohere/transcribe.rbs', line 180
def self.new: (**untyped) -> TranscriptionStatistics
|