core_mask

RunOption.core_mask() int

Get the core_mask option. Internal use only.

The core_mask uses binary format where bit i represents core i: core0=0x1, core1=0x2, core2=0x4, core3=0x8. For example, core0+core1 = 0x3. Value 0 means no mask.

Returns:

core_mask -- The mask of the kernels that can be used for model inference.

Return type:

int