16#include <NeEngineLib.h>
26 namespace MachineLearning
51 static void MatToArray(
const arma::mat& input, af::array& output,
bool transpose =
true);
63 static af::array
MatToArray(
const arma::mat& input,
bool transpose =
true);
76 static void ArrayToMat(
const af::array& input_, arma::mat& output,
bool transpose =
true);
89 static arma::mat
ArrayToMat(
const af::array& input,
bool transpose =
true);
93 static void MatToArray_(arma::mat& input, array& output,
bool transpose =
true);
ArrayFire Armadillo conversation.
static void MatToArray(const arma::mat &input, af::array &output, bool transpose=true)
Matrix to array.
static arma::mat ArrayToMat(const af::array &input, bool transpose=true)
Array to matrix.
static void ArrayToMat(const af::array &input_, arma::mat &output, bool transpose=true)
Array to matrix.
static af::array MatToArray(const arma::mat &input, bool transpose=true)
Matrix to array.