serve icon indicating copy to clipboard operation
serve copied to clipboard

ResNet-152 example code does suboptimal things with tensors and loops

Open fbbradheintz opened this issue 6 years ago • 1 comments

In examples/image_classifier/resnet_152_batch/resnet152_handler.py, in the preprocess() and postprocess() methods, tensors are looped over and subtensors/elements are handled individually. This processing will probably be faster and take less code using tensor broadcasting semantics and a small amount of refactoring. I'll handle it when I have a little time.

fbbradheintz avatar Feb 28 '20 22:02 fbbradheintz

Being taken care by pr #432

codinnvrends avatar Jun 10 '20 09:06 codinnvrends