Class: Whisper::Context::Params

Inherits:
Object
  • Object
show all
Defined in:
sig/whisper.rbs

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.new ⇒ Object



157
# File 'sig/whisper.rbs', line 157

def self.new: (

Instance Method Details

#dtw_aheads_preset ⇒ Integer

Returns:

  • (Integer)


175
# File 'sig/whisper.rbs', line 175

def dtw_aheads_preset: () -> Integer

#dtw_aheads_preset= ⇒ Integer

Parameters:

  • (Integer)

Returns:

  • (Integer)


174
# File 'sig/whisper.rbs', line 174

def dtw_aheads_preset=: (Integer) -> Integer

#dtw_n_top ⇒ Integer?

Returns:

  • (Integer, nil)


177
# File 'sig/whisper.rbs', line 177

def dtw_n_top: () -> (Integer | nil)

#dtw_n_top= ⇒ Integer?

Parameters:

  • (Integer, nil)

Returns:

  • (Integer, nil)


176
# File 'sig/whisper.rbs', line 176

def dtw_n_top=: (Integer | nil) -> (Integer | nil)

#dtw_token_timestamps ⇒ true, false

Returns:

  • (true, false)


173
# File 'sig/whisper.rbs', line 173

def dtw_token_timestamps: () -> (true | false)

#dtw_token_timestamps= ⇒ boolish

Parameters:

  • (boolish)

Returns:

  • (boolish)


172
# File 'sig/whisper.rbs', line 172

def dtw_token_timestamps=: (boolish) -> boolish

#flash_attn ⇒ true, false

Returns:

  • (true, false)


169
# File 'sig/whisper.rbs', line 169

def flash_attn: () -> (true | false)

#flash_attn= ⇒ boolish

Parameters:

  • (boolish)

Returns:

  • (boolish)


168
# File 'sig/whisper.rbs', line 168

def flash_attn=: (boolish) -> boolish

#gpu_device ⇒ Integer

Returns:

  • (Integer)


171
# File 'sig/whisper.rbs', line 171

def gpu_device: () -> Integer

#gpu_device= ⇒ Integer

Parameters:

  • (Integer)

Returns:

  • (Integer)


170
# File 'sig/whisper.rbs', line 170

def gpu_device=: (Integer) -> Integer

#use_gpu ⇒ true, false

Returns:

  • (true, false)


167
# File 'sig/whisper.rbs', line 167

def use_gpu: () -> (true | false)

#use_gpu= ⇒ boolish

Parameters:

  • (boolish)

Returns:

  • (boolish)


166
# File 'sig/whisper.rbs', line 166

def use_gpu=: (boolish) -> boolish