xmartlabs / Bender

Easily craft fast Neural Networks on iOS! Use TensorFlow models. Metal under the hood.

Home Page:https://xmartlabs.github.io/Bender/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to make bender data loader much fast?

erickingxu opened this issue · comments

I had met a problem, using blender for load some model's data from training framework,like pytorch.
I need to convert them from float32 into float16(half) in Metal kernel for processing, but I found it is very slow, so is any way to speed up for this.

I suggest you use benderthon to generate a protobuf and load it from bender. It's an easy and fast way to run a model.