ComputeLibrary icon indicating copy to clipboard operation
ComputeLibrary copied to clipboard

How can I print some variables in configure() function ?

Open imageje opened this issue 9 years ago • 3 comments

If I want to print some variables in configure() function of ARM Compute Library, how can I set ?

For example, I'm running NEON_cnn.cpp and I want to know more variables. I add printf()/cout in configure() of NEConvolutionLayer.cpp, but there are any response. Is there any other options for using cout()/printf() ?

imageje avatar Aug 17 '17 04:08 imageje

Using printf or cout should be perfectly fine. Are you sure the function for which you added the output is actually called?

Are you developing for Android or Linux? Could you use gdb to confirm that the function is called?

mpflanzer avatar Aug 17 '17 09:08 mpflanzer

Be aware you can't print the tensors contents in the configure() method as they have not yet been allocated.

morgolock avatar Aug 21 '17 10:08 morgolock

Closing. Reopen if needed.

GeorgeARM avatar Sep 12 '17 17:09 GeorgeARM