I want to send a batch of images to profile.runctx
Ex
profile.runctx('print (inference(image_batch,batch_size)); print()',
globals(),
{'image_batch':'how to send image batch?','batch_size':128})
I have a function called inference
which accepts a sequence image batches as input. How to pass a sequence of images as parameter in profile.runctx
?