Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
70ee8664
Unverified
Commit
70ee8664
authored
Jun 06, 2019
by
Da Zheng
Committed by
GitHub
Jun 06, 2019
Browse files
[Docker]Move to the latest MXNet version. (#610)
* use the right version of mxnet. * fix.
parent
653428bd
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
docker/install/ubuntu_install_mxnet_cpu.sh
docker/install/ubuntu_install_mxnet_cpu.sh
+1
-1
docker/install/ubuntu_install_mxnet_gpu.sh
docker/install/ubuntu_install_mxnet_gpu.sh
+1
-1
python/dgl/backend/mxnet/tensor.py
python/dgl/backend/mxnet/tensor.py
+1
-1
No files found.
docker/install/ubuntu_install_mxnet_cpu.sh
View file @
70ee8664
pip3
install
mxnet
==
1.5.0b20190
523
pip3
install
mxnet
==
1.5.0b20190
605
docker/install/ubuntu_install_mxnet_gpu.sh
View file @
70ee8664
pip3
install
mxnet-cu90
==
1.5.0b20190
523
pip3
install
mxnet-cu90
==
1.5.0b20190
605
python/dgl/backend/mxnet/tensor.py
View file @
70ee8664
...
...
@@ -13,7 +13,7 @@ MX_VERSION = LooseVersion(mx.__version__)
# After MXNet 1.5, empty tensors aren't supprted by default.
# after we turn on the numpy compatible flag, MXNet supports empty NDArray.
if
MX_VERSION
.
version
[
0
]
==
1
and
MX_VERSION
.
version
[
1
]
>=
5
:
mx
.
set_np_
compat
(
True
)
mx
.
set_np_
shape
(
True
)
def
data_type_dict
():
return
{
'float16'
:
np
.
float16
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment