/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-roccv/checkouts/latest/include/op_center_crop.hpp Source File#
2 min read time
Applies to Linux
op_center_crop.hpp
Go to the documentation of this file.
85 void operator()(hipStream_t stream, const Tensor &input, const Tensor &output, const Size2D cropSize,
~CenterCrop()
Destroy the Op CenterCrop object.
Definition: op_center_crop.hpp:48
void operator()(hipStream_t stream, const Tensor &input, const Tensor &output, const Size2D cropSize, const eDeviceType device=eDeviceType::GPU) const
Construct a new Op Center Crop object. The object can be used to crop a region of interest from the c...
CenterCrop()
Construct a new Op CenterCrop object.
Definition: op_center_crop.hpp:42
Definition: tensor.hpp:37
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