MCPcopy Create free account
hub / github.com/ARM-software/armnn / ReportError

Function ReportError

src/armnn/Network.cpp:763–773  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

761}
762
763void ReportError(const std::string& errorMessage,
764 Optional<std::vector<std::string>&> errorMessages)
765{
766 std::stringstream fullErrorMessage;
767 fullErrorMessage << "ERROR: " << errorMessage;
768 ARMNN_LOG(warning) << fullErrorMessage.str();
769 if (errorMessages)
770 {
771 errorMessages.value().push_back(fullErrorMessage.str());
772 }
773}
774
775void ReportWarning(const std::string& warningMessage,
776 Optional<std::vector<std::string>&> warningMessages)

Callers 4

ReturnWithErrorFunction · 0.85
AssignBackendsFunction · 0.85
OptimizeFunction · 0.85

Calls 3

push_backMethod · 0.80
strMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected