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
ada3786c
Commit
ada3786c
authored
May 28, 2019
by
Lingfan Yu
Committed by
Da Zheng
May 28, 2019
Browse files
[Docker]Update MXNet CI Image (#582)
* use mxnet 20190528 build * fix mxnet api name
parent
bd2d2c75
Changes
3
Hide 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 @
ada3786c
pip3
install
mxnet
==
1.
4.1
pip3
install
mxnet
==
1.
5.0b20190528
docker/install/ubuntu_install_mxnet_gpu.sh
View file @
ada3786c
pip3
install
mxnet-cu90
==
1.
4.1
pip3
install
mxnet-cu90
==
1.
5.0b20190528
python/dgl/backend/mxnet/tensor.py
View file @
ada3786c
...
...
@@ -11,7 +11,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