The current mapping functions are basically jokes, add some real
ones. These ones get access to the actual tensor structs so they
can do things like
- Know the dimensions they are operating on
- Work with tensors with more than 2 dimensions, or transposed
- Operate on two differently sized tensors (like matmul)
- Use their own thread pool that does a better job than ggml does.