---------------------------------------------------------------
| 59 | |
| 60 | //--------------------------------------------------------------- |
| 61 | void 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 | //--------------------------------------------------------------- |
| 71 | void ValidateTensorShapesMatch(const TensorInfo& first, |
no test coverage detected