diff --git a/3rdparty/tvm b/3rdparty/tvm index 5fec9adbcaf8..0f053c82a747 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 c3e9c2dc91d0..49ae976cfc2c 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 >{{0, 0}}; }) -.set_attr("FInplaceIdentity", - [](const NodeAttrs& attrs){ - return std::vector{true}; - }) .set_attr("FCompute", CastCompute) .set_attr("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 >{{0, 0}}; }) -.set_attr("FInplaceIdentity", - [](const NodeAttrs& attrs){ - return std::vector{true}; - }) .set_attr("FCompute", CastCompute); // negative