Class: Voicevox::SupportedDevices

Inherits:
Struct
  • Object
show all
Defined in:
lib/voicevox/wrapper/info.rb

Overview

サポートされているデバイスを表すStruct。

Instance Attribute Summary collapse

Instance Attribute Details

#cpuObject

Returns the value of attribute cpu

Returns:

  • (Object)

    the current value of cpu



7
8
9
# File 'lib/voicevox/wrapper/info.rb', line 7

def cpu
  @cpu
end

#cudaObject

Returns the value of attribute cuda

Returns:

  • (Object)

    the current value of cuda



7
8
9
# File 'lib/voicevox/wrapper/info.rb', line 7

def cuda
  @cuda
end

#dmlObject

Returns the value of attribute dml

Returns:

  • (Object)

    the current value of dml



7
8
9
# File 'lib/voicevox/wrapper/info.rb', line 7

def dml
  @dml
end