/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-roccv/checkouts/latest/include/op_thresholding.hpp Source File#
2 min read time
Applies to Linux
op_thresholding.hpp
Go to the documentation of this file.
109 const roccv::Tensor& thresh, const roccv::Tensor& maxVal, eDeviceType device = eDeviceType::GPU);
Definition: tensor.hpp:37
Threshold(eThresholdType threshType, int32_t maxBatchSize)
Constructs a Threshold object.
void operator()(hipStream_t stream, const roccv::Tensor &input, const roccv::Tensor &output, const roccv::Tensor &thresh, const roccv::Tensor &maxVal, eDeviceType device=eDeviceType::GPU)
Construct a new Threshold object. The object can be used to choose a global threshold value that is t...
Definition: strided_data_wrap.hpp:33
eDeviceType
Describes the device type. Used to determine where Tensor data should be allocated and whether operat...
Definition: util_enums.h:69
@ GPU