Class: Whisper::Parakeet::Context::Params

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.newinstance

Parameters:

  • use_gpu: (boolish)
  • gpu_device: (Integer)

Returns:

  • (instance)


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

def self.new: (?use_gpu: boolish, ?gpu_device: Integer) -> instance

Instance Method Details

#gpu_deviceInteger

Returns:

  • (Integer)


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

def gpu_device: () -> Integer

#gpu_device=Integer

Parameters:

  • (Integer)

Returns:

  • (Integer)


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

def gpu_device=: (Integer) -> Integer

#use_gpuboolish

Returns:

  • (boolish)


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

def use_gpu: () -> boolish

#use_gpu=boolish

Parameters:

  • (boolish)

Returns:

  • (boolish)


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

def use_gpu=: (boolish) -> boolish