October 2017
Intermediate to advanced
330 pages
7h 7m
English
pip install mxnet-cu80==0.11.0
For other platforms and non-GPU support, have a look at https://mxnet.incubator.apache.org/get_started/install.html.
import mxnet as mx
import numpy as npx_input = mx.nd.empty((1, 5), mx.gpu())x_input[:] = np.array([[1,2,3,4,5]], np.float32)y_input = mx.nd.empty((1, 5), mx.cpu())y_input[:] = np.array([[10, 15, 20, 22.5, 25]], np.float32)
x_inputw_input = ...
Read now
Unlock full access