9 #include <boost/format.hpp> 22 std::string returnString;
23 for (
int i = 0; i < 4; ++i)
26 ss << std::setw(3) << std::setfill('0') << std::oct << ((value >> (i * 8)) & 0xFF);
40 ss <<
"size: " << std::to_string(shape[i]) <<
"\n";
std::string ConvertInt32ToOctalString(int value)
Converts an int value into the Prototxt octal representation.
unsigned int GetNumDimensions() const
std::string ConvertTensorShapeToString(const armnn::TensorShape &shape)
Converts an TensorShape into Prototxt representation.