You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by zh...@apache.org on 2018/10/11 04:23:30 UTC
[incubator-mxnet] branch master updated: Updated tvm submodule head
(#12764)
This is an automated email from the ASF dual-hosted git repository.
zhasheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new 213ab09 Updated tvm submodule head (#12764)
213ab09 is described below
commit 213ab09e7a2924da436c0d0526d62fefeeea6aa7
Author: Zhennan Qin <zh...@intel.com>
AuthorDate: Thu Oct 11 12:23:15 2018 +0800
Updated tvm submodule head (#12764)
* Updated tvm submodule head
* Remove FInplaceIdentity attr for cast and _backward_cast
---
3rdparty/tvm | 2 +-
src/operator/tensor/elemwise_unary_op_basic.cc | 10 +---------
2 files changed, 2 insertions(+), 10 deletions(-)
diff --git a/3rdparty/tvm b/3rdparty/tvm
index 5fec9ad..0f053c8 160000
--- a/3rdparty/tvm
+++ b/3rdparty/tvm
@@ -1 +1 @@
-Subproject commit 5fec9adbcaf8debb720b56beffd45bd6941eff63
+Subproject commit 0f053c82a747b4dcdf49570ec87c17e0067b7439
diff --git a/src/operator/tensor/elemwise_unary_op_basic.cc b/src/operator/tensor/elemwise_unary_op_basic.cc
index c3e9c2d..49ae976 100644
--- a/src/operator/tensor/elemwise_unary_op_basic.cc
+++ b/src/operator/tensor/elemwise_unary_op_basic.cc
@@ -439,7 +439,7 @@ Example::
More precise control over how dimensions are inherited is achieved by specifying \
slices over the `lhs` and `rhs` array dimensions. Only the sliced `lhs` dimensions \
-are reshaped to the `rhs` sliced dimensions, with the non-sliced `lhs` dimensions staying the same.
+are reshaped to the `rhs` sliced dimensions, with the non-sliced `lhs` dimensions staying the same.
Examples::
@@ -599,10 +599,6 @@ Example::
[](const NodeAttrs& attrs){
return std::vector<std::pair<int, int> >{{0, 0}};
})
-.set_attr<nnvm::FInplaceIdentity>("FInplaceIdentity",
- [](const NodeAttrs& attrs){
- return std::vector<bool>{true};
- })
.set_attr<FCompute>("FCompute<cpu>", CastCompute<cpu>)
.set_attr<nnvm::FGradient>("FGradient", ElemwiseGradUseNone{"_backward_cast"})
.add_argument("data", "NDArray-or-Symbol", "The input.")
@@ -614,10 +610,6 @@ NNVM_REGISTER_OP(_backward_cast)
[](const NodeAttrs& attrs){
return std::vector<std::pair<int, int> >{{0, 0}};
})
-.set_attr<nnvm::FInplaceIdentity>("FInplaceIdentity",
- [](const NodeAttrs& attrs){
- return std::vector<bool>{true};
- })
.set_attr<FCompute>("FCompute<cpu>", CastCompute<cpu>);
// negative