Is it possible to assign values (e.g. in form of a numpy array) to a variable in a module? If yes, what is the best way? For example,
data = mx.sym.Variable(‘data’)
weights = mx.sym.Variable(‘weights’)
net = mx.sym.FullyConnected(data=data, weight=weights, name=‘fc1’, num_hidden=128)
Need to pass a numpy array to ‘weights’ .