Closed roywei closed 4 years ago
fix https://github.com/awslabs/keras-apache-mxnet/issues/251
This PR fix it, and added the following:
context supports single context or list of context, for example 'cpu' or 'gpu(0)' or ['gpu(1)', 'gpu(2)']
'cpu'
'gpu(0)'
['gpu(1)', 'gpu(2)']
Added tests at: tests/keras/backend/mxnet_context_test.py
tests/keras/backend/mxnet_context_test.py
@sandeep-krishnamurthy Thanks for the review, updated to keep the change minimal. linked issue and updated tests
Summary
fix https://github.com/awslabs/keras-apache-mxnet/issues/251
This PR fix it, and added the following:
context supports single context or list of context, for example
'cpu'
or'gpu(0)'
or['gpu(1)', 'gpu(2)']
Added tests at:
tests/keras/backend/mxnet_context_test.py
Related Issues
PR Overview