TensorToVectorConverter

TensorToVectorConverter inheritance diagram
- class savant.converter.TensorToVectorConverter(**kwargs)
Tensor to vector converter.
Eg ReID model.
- __call__(*output_layers, model, roi)
Converts output array to Python list.
- tensor_format: TensorFormat = 0
Set to
CuPy
to get theoutput_layers
tensors in the converter call on the GPU as acupy.ndarray
. Or set toNumPy
to get tensors on the host as anumpy.ndarray
.