cONNXr icon indicating copy to clipboard operation
cONNXr copied to clipboard

maybe replace the type specific trace macros with inline functions?

Open nopeslide opened this issue 4 years ago • 0 comments

One thought I had was to maybe replace the type specific traces (TRACE_TENSOR and so on) by inline functions so the normal c typechecker can act upon these, but this can also be an issue for later (function type errors are more readable than macro errors for most people :D). I would only replace macros which have no variadic arguments, since I don't know if handling of variadic arguments in functions is portable.

Originally posted by @nopeslide in https://github.com/alrevuelta/cONNXr/pull/49#issuecomment-668822123

nopeslide avatar Aug 05 '20 22:08 nopeslide