DeviceInfo()
An object that wraps DPU target information.
Note: You should not create this object by yourself but
should rely on the API vitis_vai.get_target_info() to return this object with
diverse property fields:
- batch: batch size supported by the DPU target on-board.
- target: name of the DPU target.
- fingerprint: the fingerprint of the DPU target on-board.
The general way to use DeviceInfo is as follows:
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
...