DeviceInfo()
An object which will wrap DPU target information.
Note: Users should not create this
object by themselves but should rely on the API vitis_vai.get_target_info() to
return this object, which will contain diverse property fields:
- batch: batch size supported by the DPU target on-board.
- target: name of the DPU target.
- fingerprint: fingerprint of the DPU target on-board.
The general way to use DeviceInfo is:
from tensorflow.contrib import vitis_vai
...
target_info = vitis_ai.get_target_info()
batch = target_info.batch
name = target_info.target
fingerprint = target_info.fingerprint
...