Boolean tensors
Context
This merge request adds support for the Boolean
type to the aidge_backend_cuda
module.
This includes:
- Add boolean data type to
TensorImpl
. - Follow the ONNX convention by setting the output of the
Equal
operator tobool
.
Modified files
-
TensorImpl.hpp
andTensorImpl.cu
Add boolean data type toTensorImpl
. -
EqualImpl.hpp
,EqualImpl.cpp
,EqualImpl_CUDA_kernels.hpp
,EqualImpl_CUDA_kernels.cu
andTests_EqualImpl.cpp
Force Equal's output to be of typeBoolean
.
Edited by Houssem ROUIS