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

Class Exception

include/armnn/Exceptions.hpp:46–65  ·  view source on GitHub ↗

Base class for all ArmNN exceptions so that users can filter to just those.

Source from the content-addressed store, hash-verified

44
45/// Base class for all ArmNN exceptions so that users can filter to just those.
46class Exception : public std::exception
47{
48public:
49 explicit Exception(const std::string& message);
50
51 /// exception with context
52 explicit Exception(const std::string& message,
53 const CheckLocation& location);
54
55 /// preserving previous exception context
56 /// and adding local context information
57 explicit Exception(const Exception& other,
58 const std::string& message,
59 const CheckLocation& location);
60
61 virtual const char* what() const noexcept override;
62
63private:
64 std::string m_Message;
65};
66
67/// Class for non-fatal exceptions raised while initialising a backend
68class BackendUnavailableException : public Exception

Callers 15

VerifyTensorInfoDataTypeFunction · 0.70
StringToLogLevelFunction · 0.70
CreateHeaderInfoFunction · 0.70
getArmNNDataTypeFunction · 0.70
getNumpyDescrFunction · 0.70
compareCTypesFunction · 0.70
CreateMethod · 0.50
CreateConstTensorFunction · 0.50

Calls

no outgoing calls

Tested by 10

CreateTfLiteModelFunction · 0.40
GenerateCustomOpResolverFunction · 0.40
CopyFromBufferToTensorFunction · 0.40
FillInputTensorMethod · 0.40
GetOutputResultMethod · 0.40