Function mindspore::dataset::Conv2D
Defined in File image_process.h
Function Documentation
-
bool mindspore::dataset::Conv2D(const LiteMat &src, const LiteMat &kernel, LiteMat &dst, LDataType dst_type, PaddBorderType pad_type = PaddBorderType::PADD_BORDER_DEFAULT)
Apply a 2D convolution over the image.
- Parameters
src – [in] LiteMat image to be processed. Only LiteMat of type UINT8 and FLOAT32 is supported now.
kernel – [in] LiteMat 2D convolutionkernel. Only LiteMat of type FLOAT32 is supported now.
dst – [in] LiteMat image after processing.
dst_type – [in] Output data type of dst.
pad_type – [in] The padding type used while filtering (default=PaddBorderType::PADD_BORDER_DEFAULT).