Skip to content

Instantly share code, notes, and snippets.

@marty1885
Last active May 23, 2018 00:21
Show Gist options
  • Save marty1885/9849b3c97b37741ab3e00011967498c2 to your computer and use it in GitHub Desktop.
Save marty1885/9849b3c97b37741ab3e00011967498c2 to your computer and use it in GitHub Desktop.
xt::xarray<float> X = xt::load_npy<float>("X.npy");
xt::xarray<float> Y = xt::cast<float>((xt::xarray<float>)xt::load_npy<double>("Y.npy"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment