Function mindspore::dataset::vision::ReadFile

Function Documentation

Status mindspore::dataset::vision::ReadFile(const std::string &filename, mindspore::MSTensor *output)

Reads a file in binary mode.

Parameters
  • filename[in] The path to the file to be read.

  • output[out] The binary data.

Returns

The status code.