Implement conv_to<>()
This is needed for #9 (closed). A good task to demonstrate ensmallen+bandicoot on is the simple logistic regression objective function. However, that's implemented in ensmallen using conv_to<>
operations in various places. It's a quick workaround to use a loop and manually convert each element of a bandicoot vector/matrix, but... that's much slower than doing it on the GPU. So, conv_to<>
should be implemented and used instead.