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

Function ValidatePointer

src/backends/backendsCommon/WorkloadData.cpp:61–68  ·  view source on GitHub ↗

---------------------------------------------------------------

Source from the content-addressed store, hash-verified

59
60//---------------------------------------------------------------
61void ValidatePointer(const void* ptr, std::string const& descName, std::string const& paramName)
62{
63 if (!ptr)
64 {
65 throw InvalidArgumentException(descName + ": Invalid null pointer. The " +
66 paramName + " parameter must be set.");
67 }
68}
69
70//---------------------------------------------------------------
71void ValidateTensorShapesMatch(const TensorInfo& first,

Callers 1

ValidateMethod · 0.85

Calls 1

Tested by

no test coverage detected