Commits


Scott McKay authored and GitHub committed ccfd90291bd
Remove condition from ORT_RETURN_IF[_NOT] macro output. (#6563) Remove condition from ORT_RETURN_IF[_NOT] macro output as repeating the condition doesn't add much value compared to the explicit error message, and the error message includes the file and line anyway so it's easy enough to find the condition if needed. Update the few places where the macros were used without an explicit error message to provide an explicit error message. Saves 12.5KB in a minimal MinSizeRel build with all DNN ops, 16KB in full release build.