Device

class ctranslate2.Device

Inherits from: pybind11_builtins.pybind11_object

Attributes:

__init__(value: int) None
cpu = <Device.cpu: 0>
cuda = <Device.cuda: 1>
property name
property value