You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by gi...@git.apache.org on 2017/09/14 00:16:29 UTC
[GitHub] eric-haibin-lin commented on a change in pull request #7890: Adjust elemwise_xxx naming for gpu
eric-haibin-lin commented on a change in pull request #7890: Adjust elemwise_xxx naming for gpu
URL: https://github.com/apache/incubator-mxnet/pull/7890#discussion_r138771282
##########
File path: src/operator/tensor/elemwise_unary_op.cc
##########
@@ -71,6 +71,7 @@ MXNET_OPERATOR_REGISTER_BINARY_WITH_SPARSE_CPU(_backward_sigmoid, kernel_launch_
MXNET_OPERATOR_REGISTER_UNARY(_copy)
.MXNET_DESCRIBE("Returns a copy of the input.")
.add_alias("identity")
+.set_attr<FInferStorageType>("FInferStorageType", ElemwiseStorageType<1, 1>)
Review comment:
Sorry I just realized that `MXNET_OPERATOR_REGISTER_UNARY ` already set the `FInferStorageType ` attr..
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services