__init__

Option.__init__(option: [<class 'tcim_lite.runtime.WeightManager'>, <class 'tcim_lite.runtime.DevManager'>, <class 'int'>] = 0)

Constructor for the Option class.

Parameters:

option (int or WeightManager) --

Initialization options:

  • The logical ID of the Houmo device used for loading and inferring a model. The device 0 is used by default.

  • The WeightManager object to manage the shared weight memory.