Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
111 commits
Select commit Hold shift + click to select a range
91d595a
bump up 1.x branch to 1.7.0 (#17741)
szha Mar 3, 2020
3b83cd8
Bump up additional scala 1.x branch to 1.7.0 (#17765)
zachgk Mar 6, 2020
21fc103
[Website 2.0] Nightly Build for v1.x (#17956)
connorgoggins Apr 4, 2020
db93398
Pinning rvm version to satisfy Jekyll build (#18016)
connorgoggins Apr 10, 2020
0d3aa67
Workaround gnu_tls handshake error on Ubuntu 14.04 Nvidia Docker (#18…
ChaiBapchya Apr 14, 2020
6fa374b
[v1.x] Backport #17702 and #17872 to v1.x branch (#18038)
xziya Apr 15, 2020
50d6d7d
[mkldnn]Mkldnn bn opt backport from master to 1.7x (#18009)
rongzha1 Apr 15, 2020
2cf7219
[v1.x] Update 3rdparty/mkldnn remote URL and pin to v1.3 (#17972) (#1…
TaoLv Apr 15, 2020
3f920ae
Optimize AddTakeGrad Tensor Sum (#17906) (#18045)
ElaineBao Apr 15, 2020
2ccbcec
GPU gemms true fp16 (#17466) (#18023)
MoisesHer Apr 15, 2020
1afdfce
[1.7] Backport MXNet Extension PRs (#17623, #17569, #17762) #18063 (#…
samskalicky Apr 16, 2020
b56571d
[v1.x] backport #17900 "[MKLDNN] support using any format in pooling …
ElaineBao Apr 16, 2020
8cfc64a
No tensor cores for fp32 interleaved attention, remove div by 8 restr…
blchu Apr 16, 2020
2e22b5e
refactor codes and add an option to skip/check weight's version to re…
ciyongch Apr 17, 2020
3835139
Add gelu fuse ops (#18082) (#18092)
MoisesHer Apr 18, 2020
814530d
Cherry-pick of #17995 and #17937 to 1.x branch (#18041)
ptrendx Apr 18, 2020
4cf2ad3
[v1.x] Backport #17689 and #17884 to v1.x branch (#18064)
wuxun-zhang Apr 18, 2020
b8e8d73
Fix and optimize handling of vectorized memory accesses (#17767) (#18…
ptrendx Apr 18, 2020
a5744be
change error tolerance for bf16 bn (#18111)
rongzha1 Apr 21, 2020
18c7963
MXNet Extensions enhancements (#17885) (#18126)
samskalicky Apr 22, 2020
770d49e
[1.x] Fix incorrect calculation results when the C locale is set to a…
nickguletskii Apr 24, 2020
f765e8a
Update Apache License for mshadow (#18109) (#18133)
ciyongch Apr 24, 2020
0e7dd91
[v1.x] Backport staggered CI builds (#17999 & #18119) (#18141)
josephevans Apr 24, 2020
63e2b19
add logic for no batch size while getting data arrays from executors …
mseth10 Apr 26, 2020
38ec873
Fix pylint astroid sanity issue (#18275)
ChaiBapchya May 11, 2020
fe90008
[v1.x] Backport edge pipeline (#18375)
nickguletskii May 26, 2020
b523527
Fix memory leaks in Gluon (#18328) (#18359)
leezu May 27, 2020
0c6785f
more support for boolean indexing and assign (#18351)
Alicia1529 May 28, 2020
6bcfce9
Remove manually created symbolic link to ninja-build (#18437)
nickguletskii May 29, 2020
ac3e71b
[1.x] Pass args fix2 (#18236)
samskalicky May 29, 2020
d621e50
Revert PR 17767 for fixing GPU memory usage regression (#18283) (#18309)
rondogency May 29, 2020
3ee8e00
Fix PyPI Packages and Python Docker Images nightly release (#18222) (…
apeforest May 29, 2020
843f278
[1.x] Add BatchNormWithReLU fp32/bf16 (#18160)
xinyu-intel Jun 2, 2020
a64825f
[v1.x] Backport of improve log_softmax op performance by using DNNL s…
Jun 3, 2020
36bd144
fix batchnorm (#18377) (#18470)
xinyu-intel Jun 3, 2020
8986e3f
[1.x] Backport of LSTM and GRU fix (#17898) and RNN op (#17632) (#18317)
Jun 3, 2020
de481d3
Julia: remove downloading of the non-ASF binary build (#18489) (#18503)
ciyongch Jun 8, 2020
798a264
[v1.x] backport #18500 - [Bug Fixed] Fix batch norm when grad_req is …
wkcn Jun 9, 2020
3b2c9ad
[v1.x] Cherry-pick #17776 #17681 (#18465)
mseth10 Jun 15, 2020
375b49f
Update Jetson installation guide (#18485) (#18557)
mseth10 Jun 15, 2020
f91b989
Increase staggered build timeout to 180 min (#18568)
josephevans Jun 16, 2020
f563fa4
Add KEY for Ciyong Chen (#18576)
ciyongch Jun 18, 2020
16144ff
Add constraint to numpy version to <1.19.0 in CI (#18651)
ciyongch Jul 1, 2020
366a7f8
Enhance license checker to cover multiple license header and md files…
ciyongch Jul 2, 2020
024daa6
[v1.x] Backport of Fix BatchNorm backward synchronization (#18644) (#…
anko-intel Jul 9, 2020
5cdefeb
Fix the monitor_callback invalid issue during calibration with variab…
ciyongch Jul 15, 2020
b81c1ce
[v1.x] Cherrypick #18677 #18713 (#18742)
ChaiBapchya Jul 23, 2020
91d535a
Fix crash when accessing already destructed static variables (#18768)…
ptrendx Jul 23, 2020
e6de5ae
Fix linalg_potri and linalg_potrf operators for large tensor. (#18752)
josephevans Jul 24, 2020
85ff00d
Add Large Tensor Test for linalg_syrk (#18782)
Zha0q1 Jul 24, 2020
566d9d3
[v1.x] add large matrix tests for linalg ops: det, inverse, trsm, trm…
mseth10 Jul 27, 2020
d009345
[1.x][LT] Add forward, backward test for linalg.gemm2 (#18784)
ChaiBapchya Jul 28, 2020
7bef9cb
Back port optimization to broadcast_axis to MXNet1.x (#18773)
access2rohit Jul 28, 2020
85eb528
Add syrk test shape check (#18812)
Zha0q1 Jul 29, 2020
ca6bcf3
adding error message when attempting to use Large tensor with linalg_…
access2rohit Jul 29, 2020
84c9e0d
[v1.x][LT] Add forward & backward linalg.gemm test for large size (#1…
ChaiBapchya Jul 30, 2020
f4e62df
Add Large Dim Checks for linalg Operators (#18816)
Zha0q1 Jul 31, 2020
1a31cea
Add unit tests for potri and potrf backward and check output shape in…
josephevans Jul 31, 2020
73d3a7b
[v1.x Backport] Fix softmax, logsoftmax failed on empty ndarray (#186…
Aug 3, 2020
5db8dee
[ONNX export] Fixing spatial export for batchnorm (#17711) (#18846)
ChaiBapchya Aug 3, 2020
2aa2702
[v1.x] Mkldnn header fix v1x for nightly binaries (#18797)
ChaiBapchya Aug 3, 2020
eae6171
[submodule] Upgrade to oneDNN v1.6 (#18822)
bartekkuncer Aug 4, 2020
cc287a0
Update windows_setup.md (#18874)
hetong007 Aug 8, 2020
0b5b449
Remove mention of nightly in pypi (#18635) (#18884)
szha Aug 10, 2020
1711103
[1.x][submodule] Update oneDNN to official v1.6 release (#18867) (#18…
bartekkuncer Aug 11, 2020
9fbf3d3
Fix CI in v1.x branch (#18907)
josephevans Aug 12, 2020
d2d6408
bump version to 1.8.0 (#18899)
szha Aug 13, 2020
d32ba4f
[v1.7.x] backport Invoke mkldnn and cudnn BatchNorm when axis != 1 t…
stu1130 Aug 14, 2020
6b568fd
Backporting backward inference from 2.x #18348 and #18378 (#18895)
Kh4L Aug 14, 2020
5e0db7a
Cherry-pick #18635 to v1.7.x (#18935) (#18945)
samskalicky Aug 17, 2020
6ae469a
fix gelu to use erf based algorithm (#18827) (#18946)
ciyongch Aug 18, 2020
9981e84
[CI][1.x] Cherrypick: Upgrade unix gpu toolchain (#18186) (#18785)
ChaiBapchya Aug 18, 2020
d1ac7c8
[1.x] Backporting #18779 to v1.x (#18894)
samskalicky Aug 18, 2020
b4da2dd
remove upper bound (#18857) (#18910)
wkcn Aug 19, 2020
8dcc653
[1.x] Backporting TensorRT-Gluon Partition API (and TensorRT 7 suppor…
Kh4L Aug 19, 2020
9445a2d
Backport: Change Partition API's options_map to std::unordered_map #1…
Kh4L Aug 20, 2020
dfefe87
Get rid of monkey patching in LossScaler overflow handling (#18959) (…
mk-61 Aug 24, 2020
bce4cc6
[1.x] Backport of Fix LeakyRelu behaviour on empty input (#18934) (#1…
Aug 26, 2020
d144edd
1.x: Stop packaging GPL libquadmath.so (#19055)
leezu Sep 1, 2020
1a398e5
Support for fp16 in SpM x DnsM on GPU (#18930) (#19074)
access2rohit Sep 3, 2020
b5e9c99
[1.x] Backporting #19016 (#19069)
samskalicky Sep 3, 2020
748eebd
fix block.export (#17970) (#19075)
Sep 3, 2020
8dbed96
Update base_module.py (#19096)
szha Sep 7, 2020
5051fd9
Fix mxnet.test_utils.check_numeric_gradient documentation (#19060)
VanessaSingh Sep 8, 2020
a9bd1d2
empty list cannot be cleared issue fixed. (#14882)
hsali Sep 9, 2020
2d077db
Add TRT verbose mode (#19100)
Kh4L Sep 10, 2020
b888d3c
[v1.x] Update onnx support to work with onnx 1.7.0 with most CV model…
josephevans Sep 11, 2020
8b56874
Fix race condition in NaiveEngine::PushAsync (#19108) (#19122)
leezu Sep 13, 2020
9383282
[1.x] Backport #19103 (#19117)
samskalicky Sep 14, 2020
e1bcb33
[1.x] Backport 'Update CUB and include it only for CUDA < 11 #18799' …
Kh4L Sep 15, 2020
9dfac79
[1.x] Backport Fix for duplicate subgraph inputs/outputs (#16131) (#1…
samskalicky Sep 15, 2020
606933f
TensorRT: add int8 with calibration (#19011)
Kh4L Sep 15, 2020
d2e6452
[1.x] Backport of intgemm #17559 (#19099)
kpuatamazon Sep 16, 2020
837c7e4
SymbolBlock.imports ignore_extra & allow_missing (#19156)
samskalicky Sep 17, 2020
3d9af6e
[1.x] Backport Add cmake flag USE_FATBIN_COMPRESSION, ON by default (…
DickJC123 Sep 17, 2020
039fef9
Fix the error of gradient of np.pad (#19044) (#19167)
sxjscience Sep 17, 2020
620d058
[v1.x] Add new CI pipeline for building and testing with cuda 11.0. (…
josephevans Sep 17, 2020
ce0a518
[v1.x] Backport Unittest tolerance handling improvements (#18694). Al…
DickJC123 Sep 17, 2020
49ba44a
[v1.x][Submodule] Upgrade to oneDNN v1.6.3 (#19153) (#19161)
anko-intel Sep 18, 2020
5079c35
[v1.x] Backport Improve environment variable handling in unittests (#…
DickJC123 Sep 18, 2020
0fce381
[1.x][FEATURE] CUDA graphs support (#19142)
ptrendx Sep 19, 2020
0496690
Revert "Fix memory leaks in Gluon (#18328) (#18359)" (#19181)
leezu Sep 19, 2020
a35d568
[1.x] Enable CUDA Graphs for TRT (#19184)
Kh4L Sep 19, 2020
fe7cf99
Fix flaky intgemm test in v1.8.x too (#19204)
kpuatamazon Sep 22, 2020
96f6454
[v1.8.x] ElementWiseSum fix for oneDNN (#18777) (#19200)
Sep 22, 2020
c2df97f
Tweeking syntax to be closer to other tests (#19186) (#19206)
DickJC123 Sep 22, 2020
975aa6e
[WEBSITE] v1.8 website patch (#19212)
ys2843 Sep 23, 2020
7c9046a
[v1.x] Nightly Large Tensor test cherrypicks (#19194) (#19215)
ChaiBapchya Sep 24, 2020
07d7e13
delete executor before reallocating it memory (#19222)
access2rohit Sep 26, 2020
51cc0af
added key for samskalicky (#19225)
samskalicky Sep 26, 2020
7961555
proof1
pioy Sep 30, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 1 addition & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
url = https://github.com/google/googletest.git
[submodule "3rdparty/mkldnn"]
path = 3rdparty/mkldnn
url = https://github.com/intel/mkl-dnn.git
branch = master
url = https://github.com/oneapi-src/oneDNN.git
[submodule "3rdparty/tvm"]
path = 3rdparty/tvm
url = https://github.com/apache/incubator-tvm.git
Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/mkldnn
17 changes: 17 additions & 0 deletions 3rdparty/mshadow/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
<!--- Licensed to the Apache Software Foundation (ASF) under one -->
<!--- or more contributor license agreements. See the NOTICE file -->
<!--- distributed with this work for additional information -->
<!--- regarding copyright ownership. The ASF licenses this file -->
<!--- to you under the Apache License, Version 2.0 (the -->
<!--- "License"); you may not use this file except in compliance -->
<!--- with the License. You may obtain a copy of the License at -->

<!--- http://www.apache.org/licenses/LICENSE-2.0 -->

<!--- Unless required by applicable law or agreed to in writing, -->
<!--- software distributed under the License is distributed on an -->
<!--- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -->
<!--- KIND, either express or implied. See the License for the -->
<!--- specific language governing permissions and limitations -->
<!--- under the License. -->

Change Log
=====

Expand Down
2 changes: 0 additions & 2 deletions 3rdparty/mshadow/LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
Copyright (c) 2014 by Contributors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Expand Down
17 changes: 17 additions & 0 deletions 3rdparty/mshadow/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
<!--- Licensed to the Apache Software Foundation (ASF) under one -->
<!--- or more contributor license agreements. See the NOTICE file -->
<!--- distributed with this work for additional information -->
<!--- regarding copyright ownership. The ASF licenses this file -->
<!--- to you under the Apache License, Version 2.0 (the -->
<!--- "License"); you may not use this file except in compliance -->
<!--- with the License. You may obtain a copy of the License at -->

<!--- http://www.apache.org/licenses/LICENSE-2.0 -->

<!--- Unless required by applicable law or agreed to in writing, -->
<!--- software distributed under the License is distributed on an -->
<!--- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -->
<!--- KIND, either express or implied. See the License for the -->
<!--- specific language governing permissions and limitations -->
<!--- under the License. -->

mshadow: Matrix Shadow
======
[![Build Status](https://travis-ci.org/dmlc/mshadow.svg?branch=master)](https://travis-ci.org/dmlc/mshadow)
Expand Down
17 changes: 17 additions & 0 deletions 3rdparty/mshadow/doc/Doxyfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Doxyfile 1.8.8

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

# This file describes the settings to be used by the documentation system
# doxygen (www.doxygen.org) for a project.
#
Expand Down
17 changes: 17 additions & 0 deletions 3rdparty/mshadow/doc/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
<!--- Licensed to the Apache Software Foundation (ASF) under one -->
<!--- or more contributor license agreements. See the NOTICE file -->
<!--- distributed with this work for additional information -->
<!--- regarding copyright ownership. The ASF licenses this file -->
<!--- to you under the Apache License, Version 2.0 (the -->
<!--- "License"); you may not use this file except in compliance -->
<!--- with the License. You may obtain a copy of the License at -->

<!--- http://www.apache.org/licenses/LICENSE-2.0 -->

<!--- Unless required by applicable law or agreed to in writing, -->
<!--- software distributed under the License is distributed on an -->
<!--- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -->
<!--- KIND, either express or implied. See the License for the -->
<!--- specific language governing permissions and limitations -->
<!--- under the License. -->

MShadow Documentation
=====
This is the documentation for mshadow: A Lightweight CPU/GPU Matrix/Tensor Template Library in C++/CUDA.
Expand Down
18 changes: 18 additions & 0 deletions 3rdparty/mshadow/doc/mkdoc.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
#!/bin/bash

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

cd ..
doxygen doc/Doxyfile
cd doc
17 changes: 17 additions & 0 deletions 3rdparty/mshadow/guide/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

# set LD_LIBRARY_PATH
export CC = gcc
export CXX = g++
Expand Down
17 changes: 17 additions & 0 deletions 3rdparty/mshadow/guide/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
<!--- Licensed to the Apache Software Foundation (ASF) under one -->
<!--- or more contributor license agreements. See the NOTICE file -->
<!--- distributed with this work for additional information -->
<!--- regarding copyright ownership. The ASF licenses this file -->
<!--- to you under the Apache License, Version 2.0 (the -->
<!--- "License"); you may not use this file except in compliance -->
<!--- with the License. You may obtain a copy of the License at -->

<!--- http://www.apache.org/licenses/LICENSE-2.0 -->

<!--- Unless required by applicable law or agreed to in writing, -->
<!--- software distributed under the License is distributed on an -->
<!--- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -->
<!--- KIND, either express or implied. See the License for the -->
<!--- specific language governing permissions and limitations -->
<!--- under the License. -->

Tutorial of mshadow
=====
This is a beginner's tutorial for mshadow. If you like mshadow and have ideas to improve this tutorial, you are more than welcome to contribute :)
Expand Down
19 changes: 19 additions & 0 deletions 3rdparty/mshadow/guide/basic.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/

// header file to use mshadow
#include "mshadow/tensor.h"
// this namespace contains all data structures, functions
Expand Down
19 changes: 19 additions & 0 deletions 3rdparty/mshadow/guide/basic_stream.cu
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/

// header file to use mshadow
#include "mshadow/tensor.h"
// this namespace contains all data structures, functions
Expand Down
17 changes: 17 additions & 0 deletions 3rdparty/mshadow/guide/config.mk
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

#---------------------------------------------------------------------------------------
# mshadow: the configuration compile script
#
Expand Down
19 changes: 19 additions & 0 deletions 3rdparty/mshadow/guide/defop.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/

#include <cmath>
// header file to use mshadow
#include "mshadow/tensor.h"
Expand Down
17 changes: 17 additions & 0 deletions 3rdparty/mshadow/guide/exp-template/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

# set LD_LIBRARY_PATH
export CC = gcc
export CXX = g++
Expand Down
17 changes: 17 additions & 0 deletions 3rdparty/mshadow/guide/exp-template/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
<!--- Licensed to the Apache Software Foundation (ASF) under one -->
<!--- or more contributor license agreements. See the NOTICE file -->
<!--- distributed with this work for additional information -->
<!--- regarding copyright ownership. The ASF licenses this file -->
<!--- to you under the Apache License, Version 2.0 (the -->
<!--- "License"); you may not use this file except in compliance -->
<!--- with the License. You may obtain a copy of the License at -->

<!--- http://www.apache.org/licenses/LICENSE-2.0 -->

<!--- Unless required by applicable law or agreed to in writing, -->
<!--- software distributed under the License is distributed on an -->
<!--- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -->
<!--- KIND, either express or implied. See the License for the -->
<!--- specific language governing permissions and limitations -->
<!--- under the License. -->

Expression Template Tutorial
====
This page explains how mshadow works. The main trick behind mshadow is called [Expression Template](http://en.wikipedia.org/wiki/Expression_templates).
Expand Down
19 changes: 19 additions & 0 deletions 3rdparty/mshadow/guide/exp-template/exp_lazy.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/

// Example Lazy evaluation code
// for simplicity, we use struct and make all members public
#include <cstdio>
Expand Down
19 changes: 19 additions & 0 deletions 3rdparty/mshadow/guide/exp-template/exp_template.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/

// Example code, expression template, and more length equations
// for simplicity, we use struct and make all members public
#include <cstdio>
Expand Down
19 changes: 19 additions & 0 deletions 3rdparty/mshadow/guide/exp-template/exp_template_op.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/

// Example code, expression template
// with binary operator definition and extension
// for simplicity, we use struct and make all members public
Expand Down
17 changes: 17 additions & 0 deletions 3rdparty/mshadow/guide/mshadow-ps/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

# set LD_LIBRARY_PATH
export CC = gcc
export CXX = g++
Expand Down
Loading