Function mindspore::dataset::vision::GetImageSize

Function Documentation

Status mindspore::dataset::vision::GetImageSize(const mindspore::MSTensor &image, std::vector<dsize_t> *size)

Get the size of input image.

参数
  • image[in] Tensor of the image.

  • size[out] Size of the image as [height, width].

返回

The status code.